搜索插件、代码仓与 APP 分类

GitHub 代码仓sarbagyastha/nepali_date_picker

尼泊尔日期选择器

带有比克拉姆萨巴特(尼泊尔)日历支持的 Material 风格日期选择器。支持 Android 和 iOS。

尼泊尔日期选择器 项目封面
星标
42
复刻
32
最近推送(UTC)
2026年9月7日
项目状态
未归档

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

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

Sarbagya Dhaubanjar GitHub avatar
GitHub 作者

Sarbagya Dhaubanjar ↗

Lead Software Architect @AcmeSoftwareLLC

@AcmeSoftwareLLCKathmandu, Nepal官方网站 ↗
语言DartC++CMakeSwiftHTMLCKotlinObjective-C

分类

此仓库发布的插件

使用的依赖

依赖清单 7 项

如何选择适合项目的代码仓?

先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。

  1. 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
  2. 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
  3. 使用前在 GitHub 核对 README、许可证与 Issues。

来源与维护

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗