dgg_flutter_common_utils library

Classes

DataFormats
一些常用格式参照。可以自定义格式,例如:"yyyy/MM/dd HH:mm:ss","yyyy/M/d HH:mm:ss"。 格式要求 year -> yyyy/yy month -> MM/M day -> dd/d hour -> HH/H minute -> mm/m second -> ss/s
DateUtil
Date Util.
EnDecodeUtil
EnDecode Util.
EnInfo
EnNormalInfo
LogUtil
Log Util.
MoneyUtil
NumUtil
Num Util.
ObjectUtil
Object Util.
RegexUtil
Regex Util.
ScreenUtil
Screen Util.
TextUtil
TextUtil.
TimelineInfo
Timeline information configuration. Timeline信息配置.
TimelineUtil
TimelineUtil
TimerUtil
TimerUtil.
ZhInfo
ZhNormalInfo

Constants

ID_CARD_PROVINCE_DICT → const List<String>
id card province dict.
const ['11=北京', '12=天津', '13=河北', '14=山西', '15=内蒙古', '21=辽宁', '22=吉林', '23=黑龙江', '31=上海', '32=江苏', '33=浙江', '…
kReleaseMode → const bool
const bool.fromEnvironment('dart.vm.product', defaultValue: false)

Properties

MONTH_DAY Map<int, int>
month->days.
read / write

Functions

setDesignWHD(double w, double h, {double density = 3.0}) → void
配置设计稿尺寸 屏幕 宽,高,密度。 Configuration design draft size screen width, height, density.
setLocaleInfo(String locale, TimelineInfo timelineInfo) → void
add custom configuration.

Enums

DateFormat
DateFormat.
DayFormat
(xx)Configurable output. (xx)为可配置输出.
MoneyFormat
MoneyUnit

Typedefs

OnTimerTickCallback(int millisUntilFinished) → void
timer callback.(millisUntilFinished 毫秒).