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
copied to clipboard

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
copied to clipboard

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';
copied to clipboard
22
likes
40
points
27
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.13 - 2025.03.28

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)

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on platform_date_picker