nepali_date_picker 8.0.0 copy "nepali_date_picker: ^8.0.0" to clipboard
nepali_date_picker: ^8.0.0 copied to clipboard

A customizable Nepali date picker for Flutter with full Bikram Sambat calendar support and localization.

πŸ‡³πŸ‡΅ Nepali Date Picker + Calendar #

Pub Package Licence Demo

A customizable, fully localized date picker for Flutter, built for the Nepali (Bikram Sambat) calendar.

Features #

  • πŸ‡³πŸ‡΅ Full Bikram Sambat calendar support, from 1970 BS to 2250 BS
  • πŸ“… Material, Cupertino, and adaptive picker styles
  • 🎯 Single date and date range selection
  • πŸ”„ Effortless conversion between Bikram Sambat and Gregorian dates
  • 🎨 Themeable to match your app

Getting Started #

dependencies:
  nepali_date_picker: ^<latest_version>
flutter pub get

Usage #

import 'package:nepali_date_picker/nepali_date_picker.dart';

Single date #

final date = await showNepaliDatePicker(
  context: context,
  initialDate: NepaliDateTime.now(),
  firstDate: NepaliDateTime(1970, 2, 5),
  lastDate: NepaliDateTime(2250, 11, 6),
);

Date range #

final range = await showNepaliDateRangePicker(
  context: context,
  firstDate: NepaliDateTime(1970, 2, 5),
  lastDate: NepaliDateTime(2250, 11, 6),
);

Adaptive (Material on Android, Cupertino on iOS) #

final date = await showAdaptiveDatePicker(
  context: context,
  initialDate: NepaliDateTime.now(),
  firstDate: NepaliDateTime(1970, 2, 5),
  lastDate: NepaliDateTime(2250, 11, 6),
);

See the example app for a complete integration.

Demo #

Try it live at date.sarbagyastha.com.np.

Need more Nepali date/text utilities? Check out nepali_utils for date formatting, number conversion, and more β€” pairs well with this package.

Contributing #

Contributions are welcome! Open an issue or submit a pull request.

License #

Licensed under the BSD-3 License.

93
likes
160
points
2.11k
downloads
screenshot

Documentation

API reference

Publisher

verified publishersarbagyastha.com.np

Weekly Downloads

A customizable Nepali date picker for Flutter with full Bikram Sambat calendar support and localization.

Homepage
Repository (GitHub)
View/report issues

Topics

#date-picker #material #intl #nepali-calendar #bikram-sambat

License

BSD-3-Clause (license)

Dependencies

cupertino_ui, flutter, intl, material_ui, nepali_utils

More

Packages that depend on nepali_date_picker