FlutterTextUtils extension

on

Properties

decodeBase64 → String

Available on String, provided by the FlutterTextUtils extension

no setter
encodeBase64 → String

Available on String, provided by the FlutterTextUtils extension

no setter
passwordStrength → int

Available on String, provided by the FlutterTextUtils extension

no setter
passwordStrengthLabel → String

Available on String, provided by the FlutterTextUtils extension

no setter
safeToNum → num?

Available on String, provided by the FlutterTextUtils extension

no setter
sentenceCount → int

Available on String, provided by the FlutterTextUtils extension

no setter
toCamelCase → String

Available on String, provided by the FlutterTextUtils extension

no setter
toKebabCase → String

Available on String, provided by the FlutterTextUtils extension

no setter
toPascalCase → String

Available on String, provided by the FlutterTextUtils extension

no setter
toSnakeCase → String

Available on String, provided by the FlutterTextUtils extension

no setter
wordCount → int

Available on String, provided by the FlutterTextUtils extension

no setter

Methods

capitalize() → String

Available on String, provided by the FlutterTextUtils extension

Capitalizes the first letter of the string
charCount({bool excludeSpaces = false}) → int

Available on String, provided by the FlutterTextUtils extension

isEmail() → bool

Available on String, provided by the FlutterTextUtils extension

Validates if the string is a valid email
isStrongPassword() → bool

Available on String, provided by the FlutterTextUtils extension

Checks if the string is a strong password
mask({int visibleStart = 2, int visibleEnd = 2}) → String

Available on String, provided by the FlutterTextUtils extension

Masks the string by replacing middle characters with '*'
reverse() → String

Available on String, provided by the FlutterTextUtils extension

Reverses the string
spacedUppercase() → String

Available on String, provided by the FlutterTextUtils extension

Returns the string with spaces between characters and in UPPERCASE

Static Methods

generateShortId([int length = 8]) → String

Available on String, provided by the FlutterTextUtils extension