flutter_datetime_picker
flutter_datetime_picker copied to clipboard
how to show DD MM YYYY format. It must be 01 January 2022
Try This!
//For DD MM YYYY String convertDate(String? passDate){ return '${formatDate(DateTime.parse(passDate!), [ dd, ' ', mm, ' ', yyyy ])}'; }
https://pub.dev/packages/flutter_datetime_picker#customize
You can create a Fork and edit format in file lib/src/date_format.dart