platform_specific_date_picker 0.0.1 copy "platform_specific_date_picker: ^0.0.1" to clipboard
platform_specific_date_picker: ^0.0.1 copied to clipboard

This package provides platform specific date picker

This package contains platform specific date picker for mobile platforms

Features #

Different UI for date picker on Android, IOS

Getting started #

  dart pub add platform_date_picker

Usage #

TODO: Include short and useful examples for package users. Add longer examples to /example folder.

Column(
  mainAxisAlignment: MainAxisAlignment.center,
    children: [
        Text(date.toString()),
        ElevatedButton(onPressed: () async {
            DateTime? chosenDate = await PlatformDatePicker(context, date);
                if(chosenDate != null){
                    setState(() {
                      date = chosenDate;
                    });
                }
            }, child: Text("Set date")),
    ],
),

Additional information #

TODO: Tell users more about the package: where to find more information, how to contribute to the package, how to file issues, what response they can expect from the package authors, and more.

0
likes
60
pub points
0%
popularity

Publisher

unverified uploader

This package provides platform specific date picker

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on platform_specific_date_picker