Awesome Open Source
Awesome Open Source

persian_flutter

pub package

Persian date picker, time picker and localization for flutter.

Getting Started

A simple example on how to display a Persian datepicker.

Import the package

import 'package:persian_flutter/persian_flutter.dart';

Call the picker

RaisedButton(onPressed: () async {
    final date = await showPersianDatePicker(
      context: context,
      initialDate: DateTime.now(),
      firstDate: DateTime.now().add(
      Duration(days: -1),
      ),
      lastDate: DateTime.now().add(
      Duration(days: 90),
      ),
    );
    
    if(date != null)
    {
      // Do simething.
    }
  },
  child: Text('Show date picker'),
);
Alternatives To Persian_flutter
Select To Compare


Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Dart (56,272
Flutter (30,978
Date (14,098
Time (12,810
Picker (5,413
Localization (5,348
Datepicker (1,862
Persian (1,074