persian_datetimepickers

Last updated:

0 purchases

persian_datetimepickers Image
persian_datetimepickers Images
Add to Cart

Description:

persian datetimepickers

Persian and gregorian numeric time and date pickers in Flutter. #
LIGHTWEIGHT - SIMPLE


How to use it? #
1. Add the package to pubspec.yaml dependency:
dependencies:
persian_datetimepickers: ^1.0.3
copied to clipboard
2. Import package:
import 'package:persian_datetimepickers/persian_datetimepickers.dart';
copied to clipboard
3. Call the pickers where ever you want:
onTap: () async {
// Time picker
final TimeOfDay? time = await showPersianTimePicker(
context: context,
);

setState(() {
_pickedTime = time;
});


// Date picker
final DateTime? date = await showPersianDatePicker(
context: context,
);

setState(() {
_pickedDate = date;
});
},

copied to clipboard
Developer #
By Hossein Yousefpour
© All rights reserved.
Donate #



OR

ETH Address: 0xc2F103b11C5d7bE3Abe292EE549a3ba418655A0E

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.