ValueNotifierStringExtension extension
Provides convenience methods to simplify string state management.
- on
Properties
- isEmpty → bool
-
Available on ValueNotifier<
Returns true if the current value is empty.String> , provided by the ValueNotifierStringExtension extensionno setter - isNotEmpty → bool
-
Available on ValueNotifier<
Returns true if the current value is not empty.String> , provided by the ValueNotifierStringExtension extensionno setter - length → int
-
Available on ValueNotifier<
Returns the number of UTF-16 code units in the string.String> , provided by the ValueNotifierStringExtension extensionno setter - trimmed → String
-
Available on ValueNotifier<
Returns the current value without leading and trailing whitespace.String> , provided by the ValueNotifierStringExtension extensionno setter
Methods
-
clear(
) → void -
Available on ValueNotifier<
Clears the current value by setting it to an empty string.String> , provided by the ValueNotifierStringExtension extension