Skip to content

A dart package which renders Cupertino or Material widgets depending on the target device.

License

Notifications You must be signed in to change notification settings

defuncart/adaptive_widgets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

adaptive_widgets

A package which renders Cupertino or Material widgets depending on the target device.

Getting Started

In your flutter project add the following dependency:

dependencies:
  ...
  adaptive_widgets: ^0.0.1

For help getting started with Flutter, view the online documentation.

Usage

AdaptiveButton(
    child: Text('hello'),
    onPressed: () {},
);

will render a CupertinoButton on iOS and a RaisedButton on Android.

Contribution

Spotted any mistakes? Open an issue or submit a PR!

About

A dart package which renders Cupertino or Material widgets depending on the target device.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages