v7.0.1nepali_date_picker
フル・ビクラム・サンバット暦対応およびローカライズを備えた、カスタマイズ可能なFlutter用ネパール日付ピッカー。
91いいね 91730日間ダウンロード160Pub ポイント
AndroidiOSWebmacOSWindowsLinux
ビクラムサバト(ネパール)暦対応のマテリアルスタイル日付ピッカー。AndroidおよびiOSの両方をサポートしています。
^1.0.2{"sdk":"flutter"}>=0.20.0 <1.0.0^1.1.1^3.0.8{"sdk":"flutter"}^6.0.0以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
A customizable, fully localized date picker for Flutter, built for the Nepali (Bikram Sambat) calendar.
dependencies:
nepali_date_picker: ^<latest_version>
flutter pub get
import 'package:nepali_date_picker/nepali_date_picker.dart';
final date = await showNepaliDatePicker(
context: context,
initialDate: NepaliDateTime.now(),
firstDate: NepaliDateTime(1970, 2, 5),
lastDate: NepaliDateTime(2250, 11, 6),
);
final range = await showNepaliDateRangePicker(
context: context,
firstDate: NepaliDateTime(1970, 2, 5),
lastDate: NepaliDateTime(2250, 11, 6),
);
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.
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.
Contributions are welcome! Open an issue or submit a pull request.
Licensed under the BSD-3 License.