nepali_date_picker
8.0.0, released 2 months ago by sarbagyastha.com.np
A customizable Nepali date picker for Flutter with Bikram Sambat calendar support.
What it does
Provides Material, Cupertino, and adaptive picker styles for selecting single dates or date ranges using the Nepali (Bikram Sambat) calendar system. It supports calendar dates from 1970 BS to 2250 BS and includes localization features.
AI-written summary of version 8.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are building a Flutter application that targets users in Nepal.
- You need to handle Bikram Sambat (BS) calendar dates and date ranges.
- You want consistent Material or Cupertino styling for your date pickers.
Skip it when
- Your application only requires the standard Gregorian calendar.
- You need a general-purpose non-Nepali date picker.
Strengths
- Full Bikram Sambat calendar support spanning 1970 BS to 2250 BS.
- Offers Material, Cupertino, and adaptive date picker styles.
- Supports both single date and date range selection.
Weaknesses
- Limited use cases outside of Nepali localization and calendar requirements.
- Requires specific newer Flutter and Dart SDK versions.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 4
Not documented
final date = await showNepaliDatePicker(
context: context,
initialDate: NepaliDateTime.now(),
firstDate: NepaliDateTime(1970, 2, 5),
lastDate: NepaliDateTime(2250, 11, 6),
);Alternatives
Packages that do the same job and could replace nepali_date_picker.
- date_picker_timeline
Flutter date picker library that renders a calendar as a horizontal timeline.
78Compare - date_picker_plus
Customizable Material Design date and range picker widgets for Flutter.
70Compare - calendar_date_picker2
A customizable Flutter calendar picker with single, multi, and range selection modes.
83Compare - datepicker_dropdown
A customizable dropdown date picker widget for Flutter with localization and form validation.
64Compare
Works with
Packages commonly used together with nepali_date_picker: ones it builds on, ones built on it, and its own family.
- intlnepali_date_picker depends on itA Dart library for internationalization and localization, providing message translation, plural/gender handling, and date/number formatting.
- material_uinepali_date_picker depends on itOfficial Flutter Material UI library implementing Google’s Material Design system.
- cupertino_uinepali_date_picker depends on itOfficial Flutter Cupertino design library implementing Apple HIG iOS and macOS user interfaces.
- nepali_utilsnepali_date_picker depends on itPure Dart collection of Nepali utilities including Bikram Sambat date conversion and formatting.