UIProperty<I, O> class
A property for declaratively describing settings that can be converted to the format required for display
- Inheritance
-
- Object
- BaseProperty<
I> - Property<
I> - UIProperty
Constructors
- UIProperty({required I defaultValue, required String id, bool? isLocalStored, O converter(I value)?})
Properties
- converter → (O Function(I value)?)
-
final
- defaultValue → I
-
The value that will be used by default
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Setting ID or value key. This is usually the name of the setting
finalinherited
- isLocalStored → bool
-
whether to store configuration values in local storage
true
- yes,false
- nofinalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
no setterinherited
Methods
-
copyWith(
{I? defaultValue, bool? isLocalStored}) → Property< I> -
Utility function that helps to create a new property based on the old one
by changing some values when creating a new object.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toUI(
) → O?
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited