Last updated:
0 purchases
flutter modal date picker
A fancy and highly customizable date picker for Flutter.
Features #
Supports manual input with format checking and picking a date from the provided calendar.
flutter_modal_date_picker is still on the development phase and customization features are yet to be added to this package.
Getting started #
Supports all platforms.
Usage #
Just call the showModalDatePicker function and
wait for it to return an string.
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return SafeArea(
child: Scaffold(
backgroundColor: Colors.white,
body: ElevatedButton(
child: Text(
'show date picker',
style: TextStyle(fontSize: 30),
),
onPressed: () async {
String chosenDate =
await showModalDatePicker(context, DateTime.now());
print(chosenDate);
},
),
),
);
}
}
copied to clipboard
Additional information #
For more info on this package, head onto our github repository. Feel free to open issues and request additional features.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.