StringX extension
- on
Properties
- abbr → String
-
缩写化
no setter
- doubleValue → double?
-
no setter
- intValue → int?
-
no setter
- isEmail → bool
-
no setter
- isMobile → bool
-
no setter
- isMoney → bool
-
no setter
- isNotEmail → bool
-
no setter
- isNotMobile → bool
-
no setter
- isNotMoney → bool
-
no setter
- isNotPhoneNumber → bool
-
no setter
- isNumber → bool
-
no setter
- isPhoneNumber → bool
-
no setter
- isPositiveNumber → bool
-
no setter
- json → dynamic
-
no setter
- jsonList → List
-
no setter
- packed → String
-
no setter
- uri → Uri?
-
no setter
Methods
-
capitalize(
) → String - 首字母大写
-
compareTo(
String other) → int - 根据codeUnit对两个字符串进行比大小
-
decapitalize(
) → String - 首字母小写
-
insert(
int index, String divider) → String -
plus(
dynamic addend, {num max = double.infinity, num min = double.negativeInfinity}) → String -
prefixWith(
String str, {bool distinct = true}) → String -
remove(
int index) → String -
substringAfterLast(
String separator, {bool includeSeparator = false}) → String -
substringBeforeLast(
String separator) → String -
substringBetween(
String left, {required String and}) → String -
substringFirstOf(
int digit) → String -
substringLastOf(
int digit) → String -
suffixWith(
String str, {bool distinct = true}) → String -
toColor(
) → Color?
Operators
-
operator <(
String other) → bool -
operator <=(
String other) → bool -
operator >(
String other) → bool -
operator >=(
String other) → bool