hive_dart 0.1.5 copy "hive_dart: ^0.1.5" to clipboard
hive_dart: ^0.1.5 copied to clipboard

A collection of useful utility functions for Dart.

0.0.1 #

  • Initial version.

0.0.2 #

  • 新增 startOfPrevDay、startOfNextDay、startOfPrevWeek、startOfNextWeek、startOfPrevMonth、startOfNextMonth
  • 转换金额函数支持单位参数,默认是分和元转换,现在支持分和万元转换

0.0.3 #

  • 新增 formatArea
  • 修复 formatNumberWithComma 参数为负数时的格式化错误

0.0.4 #

  • 调整 formatDateTime 方法签名

0.0.5 #

  • 导出 model

0.0.6 #

  • 新增 formatShelfLife、formatSize、formatRatePercent、isPayAuthBarcode、isInteger

0.0.7 #

  • 新增 formatAmount
  • isPayAuthBarcode 改名为 isPayAuthCode

0.0.8 #

  • 导出 formatAmount

0.0.9 #

  • 新增 discountToDisplay、discountToBackend、formatDiscount

0.1.0 #

  • 新增 formatCount、formatDateRange、formatDateTimeRange

0.1.1 #

  • 新增 distanceToDisplay、distanceToBackend、calculateDistance、formatDistance

0.1.2 #

  • 新增 formatPenny

0.1.3 #

  • 新增 normalizeDuration、formatDuration

0.1.4 #

  • isPayAuthCode 函数改成 parseAuthCode 函数

0.1.5 #

  • 新增 isEmail、isPrice、formatBusinessTimes、parsePhoneNumber
0
likes
0
points
527
downloads

Publisher

unverified uploader

Weekly Downloads

A collection of useful utility functions for Dart.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

decimal, intl, json_annotation

More

Packages that depend on hive_dart