persian_linear_date_picker

Last updated:

0 purchases

persian_linear_date_picker Image
persian_linear_date_picker Images
Add to Cart

Description:

persian linear date picker

Shamsi Linear Date Picker for Persian language and culture.



Features #

Linear Date Picker.
Customizable Labels.
Convert PersianDate to Gregorian numbers.
Can be used in Dart and Flutter projects.
Supports all platforms (Android, iOS, Windows, Linux, Mac).
Include Example Project.

Getting Started #
In your pubspec.yaml file add:
dependencies:
persian_linear_date_picker: any
copied to clipboard
Usage #
Import the package:
import 'package:persian_linear_date_picker/persian_linear_date_picker.dart';
copied to clipboard
Then, use the extension methods:
PersianLinearDatePicker(
endDate: '1405/12/29',
initialDate: "1401/10/26",
startDate: "1300/01/01",
dateChangeListener: (String selectedDate) {
print(selectedDate);
},
showMonthName: true,
columnWidth: 90,
labelStyle:
const TextStyle(fontFamily: 'IS_B', color: Colors.blue),
selectedRowStyle: const TextStyle(fontFamily: 'IS_B'),
unselectedRowStyle: const TextStyle(fontFamily: 'IS_UL'),
isPersian: true,
),
copied to clipboard
PersianLinearDatePicker(
yearText: 'Year',
monthText: 'Month',
dayText: 'Day',
endDate: '2025/11/20',
initialDate: "2023/05/17",
startDate: "1980/04/10",
dateChangeListener: (String selectedDate) {
print(selectedDate);
},
showMonthName: true,
columnWidth: 90,
labelStyle:
const TextStyle(fontFamily: 'DIN', color: Colors.blue),
selectedRowStyle: const TextStyle(
fontFamily: 'DIN', fontWeight: FontWeight.bold),
unselectedRowStyle: const TextStyle(fontFamily: 'DIN'),
isPersian: false,
),
copied to clipboard

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.