StringX extension

on

Properties

afterDot String

Available on String, provided by the StringX extension

no setter
asterik String

Available on String, provided by the StringX extension

no setter
base64Decoded Uint8List?

Available on String, provided by the StringX extension

no setter
base64Encoded String

Available on String, provided by the StringX extension

no setter
capitalized String

Available on String, provided by the StringX extension

Capitalize each word inside string Example: your name => Your Name
no setter
capitalizedFirst String

Available on String, provided by the StringX extension

Uppercase first letter inside string and let the others lowercase Example: your name => Your name
no setter
color Color

Available on String, provided by the StringX extension

no setter
colorAccent Color

Available on String, provided by the StringX extension

no setter
colorMaterial Color

Available on String, provided by the StringX extension

no setter
colorPrimary Color

Available on String, provided by the StringX extension

no setter
decrypted Future<String>

Available on String, provided by the StringX extension

no setter
encrypted Future<String>

Available on String, provided by the StringX extension

no setter
isNotBlank bool

Available on String, provided by the StringX extension

no setter
json → dynamic

Available on String, provided by the StringX extension

no setter
lowercase String

Available on String, provided by the StringX extension

Lowercase each word inside string Example: Your Name => your name
no setter
lowercaseFirst String

Available on String, provided by the StringX extension

Lowercase first letter of string Example: Your Name => your Name
no setter
notBlank String?

Available on String, provided by the StringX extension

no setter
notEmpty String?

Available on String, provided by the StringX extension

no setter
uppercase String

Available on String, provided by the StringX extension

Uppercase each word inside string Example: your name => YOUR NAME
no setter

Methods

cipher(CipherType type) Future<String>

Available on String, provided by the StringX extension

containsIgnoreCase(String? s) bool

Available on String, provided by the StringX extension

equalsIgnoreCase(String? s) bool

Available on String, provided by the StringX extension

isPasswordStrong({int min = 8}) bool

Available on String, provided by the StringX extension

post(dynamic post, {int doFor = 1, bool doIf = true, dynamic between, dynamic pre}) String

Available on String, provided by the StringX extension

pre(dynamic pre, {int doFor = 1, bool doIf = true, dynamic between, dynamic post}) String

Available on String, provided by the StringX extension

skip([int count = 1]) String

Available on String, provided by the StringX extension

skipLast([int count = 1]) String

Available on String, provided by the StringX extension

skipLastWhile(bool predicate(String)) String

Available on String, provided by the StringX extension

skipWhile(bool predicate(String)) String

Available on String, provided by the StringX extension

surround(dynamic surround, {int doFor = 1, bool doIf = true, String between = ""}) String

Available on String, provided by the StringX extension

take([int count = 1]) String

Available on String, provided by the StringX extension

takeInitials(int count, {bool fill = false, bool withoutGarbage = false, List<String> garbage = garbage}) String

Available on String, provided by the StringX extension

takeInitialsWithoutGarbage(int count, {bool fill = false, List<String> garbage = garbage}) String

Available on String, provided by the StringX extension

takeLast([int count = 1]) String

Available on String, provided by the StringX extension

takeLastWhile(bool predicate(String)) String

Available on String, provided by the StringX extension

takeWhile(bool predicate(String)) String

Available on String, provided by the StringX extension

toBytes() Uint8List?

Available on String, provided by the StringX extension

toDouble() double

Available on String, provided by the StringX extension

toInt() int

Available on String, provided by the StringX extension

toUTF8() List<int>?

Available on String, provided by the StringX extension

Constants

garbage → const List<String>