utils/string_util library

Functions

checkEasyPwd(String input, String phone) bool
getControllerString(TextEditingController controller) String
getControllerStringLength(TextEditingController controller) int
getNowTime() String?
isMobile(String? mobile) bool
isNullOrEmpty(String? txt) bool
rightTime(String? time) String?
txtIsNull(dynamic txt, {dynamic nullTxt = "-"}) String
判断文字是否为空
txtIsNullWithTitle(dynamic txt, dynamic title, {dynamic nullTxt = "-"}) String
txtLength(String? txt, {int? length, dynamic nullTxt = ""}) String
设置文字长度