Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

persian-datetime-picker

a persian (farsi,shamsi) datetime picker for flutter, inspired by material datetime picker.

you can pick date / range date / time / date and time.

screenshots

screenshot_date

screenshot_date2

screenshot_time

screenshot_time2

screenshot_range_date

usage

add it to your pubspec.yaml file:


dependencies:

persian_datetime_picker: version

in your library add the following import:


import  'package:persian_datetime_picker/persian_datetime_picker.dart';

here is an example how to use:

jalali picked = await showpersiandatepicker(
    context: context,
    initialdate: jalali.now(),
    firstdate: jalali(1385, 8),
    lastdate: jalali(1450, 9),
);
var label = picked.formatfulldate();

var picked = await showtimepicker(
  context: context,
  initialtime: timeofday.now(),
);
var label = picked.persianformat(context);


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Top