ir_datetime_picker 1.1.1 copy "ir_datetime_picker: ^1.1.1" to clipboard
ir_datetime_picker: ^1.1.1 copied to clipboard

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

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

18
likes
150
points
214
downloads

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, shamsi_date

More

Packages that depend on ir_datetime_picker