StringExt extension

on

Properties

isEmptyOrNull bool
Return true if the string this is null or empty
read-only

Methods

launch({bool forceSafariVC, bool forceWebView, bool enableJavaScript, bool enableDomStorage, bool universalLinksOnly, Map<String, String> headers, Brightness statusBarBrightness}) Future<bool>
Parses the specified URL string and delegates handling of it to the underlying platform. [...]
toDouble() double
Parse this string as an double literal and return its value.
toInt() int
Parse this string as a, possibly signed, integer literal and return its value.
validate(Pattern pattern) bool
Returns whether the regular expression pattern has a match in this string. [...]
validateEmail() bool
Returns whether this string is a valid email address