thindek_ui library
Classes
Enums
Constants
- bodyF → const double
- 字体表
- IMG_GAP_RATIO → const double
- MARGIN_RATIO → const double
- 默认布局边距
Functions
-
exceedLength(
String? input, int length) → bool - 检查字符长度
-
isEmail(
String? input) → bool - 检查邮箱格式
-
isNullOrEmpty(
String? str) → bool - 非空判断
-
isUsername(
String? input) → bool - 检查用户名格式
-
tdkDivider(
BuildContext context) → Widget -
tdkToastInfo(
{required String msg, Color backgroundColor = Colors.black54, Color textColor = Colors.white}) → Future< bool?> -
tdkWhiteAppBar(
BuildContext context, bool isCenter, {String title = ''}) → Widget - Scaffold