FLUTTER ECOSYSTEM

sarbagyastha/nepali_date_picker

支援比克拉姆薩巴特(尼泊爾)日曆的材質風格日期選擇器。支援 Android 與 iOS。

尼泊爾日期選擇器 專案封面
Stars
42
Forks
32
最近推送(UTC)
2026年9月7日
專案狀態
未封存
Sarbagya Dhaubanjar GitHub avatar
GITHUB User

Sarbagya Dhaubanjar ↗

Lead Software Architect @AcmeSoftwareLLC

@AcmeSoftwareLLCKathmandu, Nepal官方網站 ↗
語言DartC++CMakeSwiftHTMLCKotlinObjective-C

技術主題

此儲存庫發佈的套件

使用的依賴

依賴清單 7 項

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

🇳🇵 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.

Related Package

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.