-
Couldn't load subscription status.
- Fork 1
Description
Currently, in this repo only contains code that are solely dependent on Dart SDK. But, when we add support for mobile devices, we need access to Flutter SDK too.
I've already added Android support in another repo that depends on this repo. But, managing two different repo can be cumbersome for devs and users both.
So, I want to make this package as such that it can act as a Dart Standalone and a Flutter package both.
That means, someone can use pub get and flutter pub get both. i.e making the Flutter SDK optional if someone don't want flutter support.
I've looked into webcrypto as it works both as standalone and flutter package. But I have to do flutter pub get. Just pub get won't work. So, though someone is able to use it without actually using Flutter, still they need Flutter SDK setup in their system.
Is there any solution to this? (Like, conditional dependency 🤔 ?)
Ref: #3