platform_date_picker 0.0.4+1 copy "platform_date_picker: ^0.0.4+1" to clipboard
platform_date_picker: ^0.0.4+1 copied to clipboard

Unlike the default show date and time functions, this package chooses the appropiate widget depending on the platform specified in the ThemeData of MaterialApp and CupertinoApp.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add platform_date_picker

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  platform_date_picker: ^0.0.4+1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:platform_date_picker/platform_date_picker.dart';
22
likes
40
pub points
74%
popularity

Publisher

unverified uploader

Unlike the default show date and time functions, this package chooses the appropiate widget depending on the platform specified in the ThemeData of MaterialApp and CupertinoApp.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on platform_date_picker