StringExtension extension

Extension Methods & Widgets for the strings

on

Properties

eliminateFirst String
Removes first element
no setter
isNotBlank bool
Returns true if s is neither null, empty nor is solely made of whitespace characters.
no setter
richText FxRichText
Get RichText Widget for the String
no setter
selectableText FxSelectableTextBuilder
Get SelectableText Widget for the String
no setter
text FxTextBuilder
Get Text Widget for the String
no setter
textSpan FxTextSpan
Get TextSpan for the String
no setter

Methods

allWordsCapitilize() String
Capitalize all words inside a string
firstLetterUpperCase() String
Returns first letter of the string as Caps eg -> Flutter
hidePartial({int begin = 0, int? end, String replace = '*'}) String?
Replaces chars of the given String s with replace.
ifEmpty(Function action) String?
isEmail() bool
removeWhiteSpaces() String
Returns a String without white space at all "hello world" // helloworld