cupertino_hebrew_date_picker

Creator: coderz1093

Last updated:

0 purchases

cupertino_hebrew_date_picker Image
cupertino_hebrew_date_picker Images

Languages

Categories

Add to Cart

Description:

cupertino hebrew date picker

A Flutter plugin for showing a Cupertino-styled Hebrew date picker. And returns a DateTime object.
Features #

Usage #
class MyHomePage extends StatelessWidget {
const MyHomePage({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: TextButton(
onPressed: () {
showHebrewCupertinoDatePicker(
confirmText: "Confirm",
context: context,

onDateChanged: (dateTime) {
print(dateTime);
},
// When the user click on the "Confirm" button, the onConfirm callback is called.
onConfirm: (dateTime) {
print(dateTime);
});
},
child: const Text("open picker"),
),
),
);
}
}
copied to clipboard
You can also an specify an initial date date to the picker. as well as confirmTextStyle and cancelTextStyle
showHebrewCupertinoDatePicker(

initialDate: DateTime.now(),
confirmTextStyle: TextStyle(
color: CupertinoColors.destructiveRed,
fontWeight: FontWeight.w600,
),
context: context,
onDateChanged: (dateTime) {
print(dateTime);
},

onConfirm: (dateTime) {
print(dateTime);
}
);
copied to clipboard
A Hebrew Calendar / Hebrew Date picker

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.