export_kutils library
Classes
- KDateUtils
- KLog
- 日志
- KRandomUtils
- 随机工具类
- KSpUtils
- sp存储工具类
- KTimerUtils
- 倒计时timer工具类
Enums
- AccountRegex
- DateFormat
- 日期展示枚举值 Y 年 M 月 D 日 H 时 M 分 S 秒
- NumFormat
- 数字格式化枚举值
Extensions
- BoolJsonExten on bool?
- ColorExten on Color
- DateFormatExtension on DateFormat
- DateTimeExten on DateTime
- DoubleExten on double?
- double拓展函数
- DoubleJsonExten on double?
- FileEncryptExten on File
- 加密和解密工具类
- IntDateTimeExten on int?
- IntJsonExten on int?
- IntMoneyExten on num?
- 货币工具类
-
ListExten
on List<
E> ? -
ListJsonExten
on List<
T> ? -
MapJsonExten
on Map<
K, T> -
MapListJsonExten
on Map<
K, List< T> ?> - NumExten on NumFormat
- ObjectExtension on Object?
- ObjectJsonExten on Object?
- ObjectLogExten on Object?
- SetJsonExten on Set?
- StrColorExten on String?
- StringDateTimeExten on String?
- StringEncryptExten on String
- StringJsonExten on String?
- json解析工具类
- StringRegexExten on String?
- StrSystemExten on String?
- 系统工具类
- StrTextExten on String?
- 文本工具类
- WidgetExten on Widget
- Widget 扩展
Constants
-
idCardProvinceList
→ const List<
String> - oneDay → const int
- 日期时间工具类
Functions
-
kclearClientKeyboard(
) → void - 清除数据
-
khideKeyboard(
) → void - 隐藏软键盘
-
ksetStatusBarColor(
{Brightness brightness = Brightness.light, Color statusBarColor = Colors.transparent}) → void - 设置状态栏文字颜色
-
kshowKeyboard(
) → void - 展示软键盘
-
kshowStatusBar(
bool isShow) → void - 显示隐藏状态栏
Typedefs
- OnTimerCallback = void Function(int time)
- 倒计时器的监听 time 秒