Iranian date & time picker

Iranian (persian,farsi,shamsi,jalali) datetime picker with cupertino style and responsive ui.

Version Platform

Screen:

Demo Screen

Usage

Step1: add dependency to your pubspec.yaml:


dependencies:
  ir_datetime_picker: version

Step2: import library:


import 'package:ir_datetime_picker/ir_datetime_picker.dart';

Step3: check exmaples to use:


// use top level function showIRDatePickerRoute like below:

ElevatedButton(
  child: const Text("PickDate"),
  onPressed: () async {
    Jalali? datePicked = await showIRDatePickerRoute(context);
    if (datePicked != null) {
      setState(() {
        _date = "${datePicked.year}/${datePicked.month}/${datePicked.month}";
      });
    }
  },
)

ContactMe

Alikhajavi74@gmail.com

https://github.com/alikhajavi74

Libraries

ir_datetime_picker