v8.0.0nepali_date_picker
플러터용 사용자 정의 가능한 네팔 날짜 선택기로 완전한 비크람 산바트 달력 지원 및 로컬라이제이션 기능을 제공합니다.
93좋아요 2.1천30일 다운로드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.