nepali_date_picker 7.0.0 copy "nepali_date_picker: ^7.0.0" to clipboard
nepali_date_picker: ^7.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 beautiful, customizable date picker widget for Flutter, fully localized for the Nepali (Bikram Sambat) calendar. This package allows users to select dates in the Nepali/Indian calendar system, making it perfect for apps targeting Nepali-speaking audiences or integrating regional calendar functionality.

🚀 Features #

  • 🇳🇵 Bikram Sambat (Nepali) Calendar support

  • 🎨 Customizable UI to match your app’s theme

  • ⚡ Easy Integration into any Flutter project

  • ✅ Date Validation for valid Nepali dates only

  • 📆 Supports date from 1970 BS to 2250 BS

  • 🔄 Effortlessly convert between Bikram Sambat and Gregorian dates.

🛠️ Getting Started #

Add this to your pubspec.yaml:

dependencies:
  nepali_date_picker: ^<latest_version>

Then run:

flutter pub get

💡 Usage #

Import the package:

import 'package:nepali_date_picker/nepali_date_picker.dart';

Example usage:

final selectedDateTime = await showNepaliDatePicker(
  context: context,
  initialDate: _selectedDateTime ?? NepaliDateTime.now(),
  firstDate: NepaliDateTime(1970, 2, 5),
  lastDate: NepaliDateTime(2250, 11, 6),
  initialDatePickerMode: DatePickerMode.day,
);

print(selectedDateTime); // Outputs the selected date in NepaliDateTime type.

For a complete example, check out the example.

🌐 Demo #

Try the Nepali Date Picker live on the web! Check out the demo page here:

👉 https://date.sarbagyastha.com.np

If you need additional Nepali date and text utilities, check out the nepali_utils package! It offers handy helpers for Nepali date formatting, number conversion, and more. Perfect to use alongside nepali_date_picker!

🤝 Contributing #

Contributions are welcome! Feel free to open issues or submit pull requests.

📄 License #

Licensed under the BSD-3 License.

89
likes
160
points
1.29k
downloads
screenshot

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

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_localizations, intl, nepali_utils

More

Packages that depend on nepali_date_picker