hrk_batteries 2.2.0 copy "hrk_batteries: ^2.2.0" to clipboard
hrk_batteries: ^2.2.0 copied to clipboard

A library to accumulate required dart helper and utility codes

2.2.0 #

  • Add following helper methods to HrkDateTime
    • daysInMonth()
    • isLeapYear()
    • startOfMonth()
    • endOfMonth()
    • startOfDay()
    • endOfDay()
    • noon()

2.1.0 #

  • Add Pubspec.getVersionMajorMinorPatch()

2.0.0 #

  • Breaking change:
    • Replace:
      • kReleaseMode with isReleaseMode()
      • kProfileMode with isProfileMode()
      • kDebugMode with isDebugMode()
  • Make package WASM compatibile
  • Add getBuildModeString()

1.1.0 #

  • Add NetworkState

1.0.0 #

  • Integrate freezed 2.5.5 changes
  • Bump hrk_analysis to ^1.0.0

0.9.2 #

  • Integrate freezed 2.4.6 changes

0.9.1 #

  • Integrate freezed changes

0.9.0 #

  • Add meter and feet to DistanceUnit

0.8.0 #

  • Make value and unit non-nullable in ValueUnit
  • Add VelocityUnit, Velocity

0.7.0 #

  • Add more DistanceUnit, Add conversion logic

0.6.1 #

  • Add more references to localizeDigits()

0.6.0 #

  • Add jsonEncoderPretty

0.5.2 #

  • Hardcode revision for dart doc

0.5.1 #

  • Add yq in tool/prerequisite.sh
  • Update links in README.md
  • Add linkToSource for dart doc
  • Update example, test, doc of localizeDigits()

0.5.0 #

  • Add localizeDigits() to extension on String

0.4.0 #

  • Add isFlutterIntegrationTest()

0.3.0 #

  • Add HrkDateTime for today(), todayUtc(), toDate()

0.2.0 #

  • Add Unit, ValueUnit, ValueRange, Distance

0.1.0 #

  • Promote v0.1.0-pre.7 to v0.1.0

0.1.0-pre.7 #

  • Integrate hrk_analysis

0.1.0-pre.6 #

  • Fix isDartTest()

0.1.0-pre.5 #

  • Export typedef.dart

0.1.0-dev.4 #

  • Add JsonMap and FromJsonFunction typedef

0.1.0-dev.3 #

  • Add String.capitalize() extension
  • Add HttpResponseStatusCode extension on int

0.1.0-dev.2 #

  • Add kReleaseMode, kProfileMode, kDebugMode.

0.1.0-dev.1 #

  • Initial pre-release version.
4
likes
160
points
7.23k
downloads

Publisher

verified publisherhrishikesh-kadam.dev

Weekly Downloads

A library to accumulate required dart helper and utility codes

Repository (GitHub)
View/report issues

Topics

#batteries #dart-batteries

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

equatable, freezed_annotation, json_annotation, meta, pubspec_parse

More

Packages that depend on hrk_batteries