StringExtension extension

on

Properties

fastHash → int

Available on String, provided by the StringExtension extension

针对 Dart 字符串优化的 64 位哈希算法 FNV-1a
no setter
isAPKFilename → bool

Available on String, provided by the StringExtension extension

检查字符串是否为APK文件名。
no setter
isAudioFileName → bool

Available on String, provided by the StringExtension extension

检查字符串是否为音频文件名。
no setter
isCadFileName → bool

Available on String, provided by the StringExtension extension

检查字符串是否为cad文件名。
no setter
isChmFileName → bool

Available on String, provided by the StringExtension extension

检查字符串是否为Chm文件名。
no setter
isCompressedFileName → bool

Available on String, provided by the StringExtension extension

检查字符串是否为压缩文件名。
no setter
isConfigurationFileName → bool

Available on String, provided by the StringExtension extension

检查字符串是否为配置文件名。
no setter
isDatabaseFileName → bool

Available on String, provided by the StringExtension extension

检查字符串是否为数据库文件名。
no setter
isExcelFileName → bool

Available on String, provided by the StringExtension extension

检查字符串是否为Excel文件名。
no setter
isExeFileName → bool

Available on String, provided by the StringExtension extension

检查字符串是否为exe文件名。
no setter
isGifFileName → bool

Available on String, provided by the StringExtension extension

检查字符串是否为gif文件名。
no setter
isHTMLFileName → bool

Available on String, provided by the StringExtension extension

检查字符串是否为html文件名。
no setter
isImageFileName → bool

Available on String, provided by the StringExtension extension

检查字符串是否为图片文件名。
no setter
isNetworkUrl → bool

Available on String, provided by the StringExtension extension

判断是否为网络地址
no setter
isPDFFileName → bool

Available on String, provided by the StringExtension extension

检查字符串是否为PDF文件名。
no setter
isPPTFileName → bool

Available on String, provided by the StringExtension extension

检查字符串是否为PPT文件名。
no setter
isThreeDFileName → bool

Available on String, provided by the StringExtension extension

检查字符串是否为3D文件名。
no setter
isToday → bool

Available on String, provided by the StringExtension extension

是否是今天
no setter
isTxtFileName → bool

Available on String, provided by the StringExtension extension

检查字符串是否为Txt文件名。
no setter
isVectorFileName → bool

Available on String, provided by the StringExtension extension

检查字符串是否为Vector文件名。
no setter
isVideoFileName → bool

Available on String, provided by the StringExtension extension

检查字符串是否为视频文件名。
no setter
isWordFileName → bool

Available on String, provided by the StringExtension extension

检查字符串是否为Word文件名。
no setter
isWPSFileName → bool

Available on String, provided by the StringExtension extension

检查字符串是否为WPS文件名。
no setter

Methods

equalsDay(String? locDay) → bool

Available on String, provided by the StringExtension extension

判断日期相同
toColor() → Color?

Available on String, provided by the StringExtension extension

格式化为颜色
toDateMs() → int?

Available on String, provided by the StringExtension extension

转换为时间戳
toDatetime({bool? isUtc, String? format}) → DateTime?

Available on String, provided by the StringExtension extension

转换为时间
toFormattedTime({String? format, bool? isUtc}) → String?

Available on String, provided by the StringExtension extension

转换为格式化的时间
toMaterialAccentColor() → MaterialAccentColor?

Available on String, provided by the StringExtension extension

转换为MaterialAccentColor
toMaterialColor() → MaterialColor?

Available on String, provided by the StringExtension extension

转换为MaterialColor
toTime([String? format]) → TimeOfDay?

Available on String, provided by the StringExtension extension

转换为时分秒