nepali_kit 1.0.2
nepali_kit: ^1.0.2 copied to clipboard
Comprehensive BS/AD calendar and Nepali localization toolkit for Dart and Flutter.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.2 - 2026-10-01 #
- Added official web platform link (nepalikit.tech) to package homepage and README showcase.
- Updated package homepage metadata in
pubspec.yaml. - Documentation enhancements and link updates.
1.0.1 - 2026-09-30 #
- Improved package description metadata to meet pub.dev recommendations.
- Fixed an invalid local
file://reference in the README. - Improved README documentation and code references.
- No API or functionality changes.
1.0.0 - 2026-09-29 #
Added #
- Core Calendar Engine:
- Pure Dart immutable
NepaliDate(date-only) andNepaliDateTime(date + time). - Verified bidirectional BS ↔ AD conversion spanning 1975 BS to 2099 BS.
- Invariant round-trip mathematical guarantees (
BS -> AD -> BS == BS,AD -> BS -> AD == AD). - Month and year arithmetic with day-clamping (
addDays,subtractDays,addMonths,subtractMonths,addYears,subtractYears). NepaliDateRangewith iterable date sequence and duration calculations.- Complete weekday and month models (
NepaliWeekday,NepaliMonth) in Nepali and English.
- Pure Dart immutable
- Formatting, Locales & Relative Time:
NepaliDateFormatsupporting standard tokens (yyyy,MMMM,dd,EEEE,hh:mm a).- Devanagari numerals and English transliterations.
formatDual()for combined BS + AD date strings.NepaliMomentfor relative time ("भर्खरै", "५ मिनेट अगाडि", "हिजो", "भोलि").
- Numbers, Currency & Spoken Words:
- South Asian comma grouping (
12,34,567.89) viaNepaliNumberFormat. - Currency formatting (
रु ५२,४५०.००/Rs. 52,450.00). NepaliNumberToWordsconverting numbers to Nepali words up to Kharba and Arab.- Number digit conversions (
NepaliDigits).
- South Asian comma grouping (
- Fiscal Year & Holidays:
NepaliFiscalYearbased on official Nepal Government cycle (Shrawan 1 to Ashadh end).NepaliFiscalQuarterproviding exact Q1–Q4 breakdowns.HolidayServicewith national gazetted holidays and custom holiday provider support.
- Flutter Widgets & Material 3 Pickers:
NepaliCalendarViewandADCalendarViewwith multi-event dots and day builders.showNepaliDatePickerandshowNepaliDateRangePicker.NepaliMonthPickerandNepaliYearPicker.DualDateDisplayandNepaliCalendarThemeData.
- Zero External Core Dependencies:
- Pure Dart core exposed via
nepali_kit_core.dart. - Unified Flutter UI exposed via
nepali_kit.dart.
- Pure Dart core exposed via
