ConfigurationItem class
Configuration item for custom features All logic should be implemented outside the package
Constructors
Properties
- customWidget → Widget?
-
Custom widget to display (optional)
final
- description → String?
-
Description/Subtitle (optional)
final
- enabled → bool
-
Whether this configuration is enabled
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- onTap → dynamic Function(bool newState)?
-
Callback when tapped - implement your logic here
The callback receives the new enabled state after toggle
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
Title of the configuration
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited