persian_date_picker library Null safety

Classes

DatePickerModal

Properties

defaultButtonsStyle ButtonsStyle
read-only

Functions

showPersianDatePicker(BuildContext context, Future<void> onSubmit(BuildContext context, Jalali date), {int? initYear, int? initMonth, int? initDay, BorderRadiusGeometry? border, YearDirection yearDirection = YearDirection.backward, Color backgroundColor = Colors.white, EdgeInsets margin = EdgeInsets.zero, ButtonsStyle submitButtonStyle = const ButtonsStyle(backgroundColor: Colors.white, textColor: Colors.black, radius: 5, text: 'تایید', visible: true), ButtonsStyle cancelButtonStyle = const ButtonsStyle(backgroundColor: Colors.white, textColor: Colors.black, radius: 5, text: 'انصراف', visible: true), bool validate(BuildContext context, Jalali date)?}) Future

Enums

YearDirection