FLUTTER ECOSYSTEM

sarbagyastha/nepali_date_picker

ビクラムサバト(ネパール)暦対応のマテリアルスタイル日付ピッカー。AndroidおよびiOSの両方をサポートしています。

ネパール日付ピッカー のプロジェクト画像
Stars
42
Forks
32
最終プッシュ(UTC)
2026/09/07
プロジェクト状態
公開中
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.