A package which renders Cupertino or Material widgets depending on the target device.
In your flutter project add the following dependency:
dependencies:
...
adaptive_widgets: ^0.0.1
For help getting started with Flutter, view the online documentation.
AdaptiveButton(
child: Text('hello'),
onPressed: () {},
);
will render a CupertinoButton on iOS and a RaisedButton on Android.
Spotted any mistakes? Open an issue or submit a PR!