Last updated:
0 purchases
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
copied to clipboard
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")),
],
),
copied to clipboard
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.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.