flutter_jalali_date_picker 1.0.0 copy "flutter_jalali_date_picker: ^1.0.0" to clipboard
flutter_jalali_date_picker: ^1.0.0 copied to clipboard

A Jalali/Persian Date Picker with Format Date to Persian

Jalali/Persian Date Picker #

pub package

A Jalali/Persian Date Picker with Format Date to Persian for Android, iOS, macOS, Windows, Linux and Web

Platform Support #

Android iOS macOS Web Windows Linux
✔️ ✔️ ✔️ ✔️ ✔️ ✔️

Getting Started #

Add dependency #

dependencies:
  flutter_jalali_date_picker: ^1.0.0 #latest version

This sample open DatePicker and return the selected DateTime

DateTime? datePicked = await jalaliDatePicker(
  context,
  initialDate: selectedDate ?? DateTime.now(),
  firstDate: DateTime(2020),
  lastDate: DateTime(2030),
);

Format DateTime to Persian

final date = DateTime.now();

Text(date.dateToYMMMdPersian()),
Text(date.dateToMMMdPersian()),
Text(date.dateTimeToStringWithDayPersian()),
6
likes
140
points
23
downloads

Publisher

unverified uploader

Weekly Downloads

A Jalali/Persian Date Picker with Format Date to Persian

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

flutter, intl, shamsi_date

More

Packages that depend on flutter_jalali_date_picker