Skip to content
pubscout

flutter_persian_calendar

0.0.3, released 2 years ago by an unverified publisher

A Flutter widget for selecting Persian (Jalali) dates via a scrollable calendar UI.

WASM-ready
$ flutter pub add flutter_persian_calendar
Source repository

What it does

It displays a customizable Jalali calendar allowing users to pick year, month, and day. The widget supports RTL layout, color styling, and optional confirm button callbacks.

AI-written summary of version 0.0.3, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a Persian/Jalali date picker in a Flutter app
  • You want built‑in RTL support and simple customization
  • You prefer a pure‑Dart solution without native code

Skip it when

  • You require Gregorian or other calendar systems
  • You need advanced features like time picking or recurring dates
  • You need extensive theming beyond basic colors

Strengths

  • Lightweight and easy to integrate
  • Customizable colors and text styles
  • Built‑in RTL handling for Persian
  • Works on all Flutter platforms

Weaknesses

  • Only supports Jalali calendar
  • Limited feature set compared to full date‑time pickers
  • No code‑generation or advanced theming options

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1
import 'package:flutter/material.dart';
import 'package:shamsi_date/shamsi_date.dart';
import 'package:persian_calendar/persian_calendar.dart';

PersianCalendar(
  initialDate: Jalali(1402, 12, 25),
  startingDate: Jalali(1300, 1, 1),
  endingDate: Jalali(1405, 1, 1),
  onDateChanged: (date) => debugPrint('Selected: $date'),
);

Alternatives

Packages that do the same job and could replace flutter_persian_calendar.

Works with

Packages commonly used together with flutter_persian_calendar: ones it builds on, ones built on it, and its own family.