HighlightsConfig class
Configuration for widget highlight effects.
Constructors
- HighlightsConfig({required bool enabled, required double opacity, required String position})
-
Creates a new HighlightsConfig instance.
const
-
HighlightsConfig.fromJson(Map<
String, dynamic> json) -
Creates a HighlightsConfig from a JSON map.
factory
Properties
- enabled → bool
-
Whether highlights are enabled.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- opacity → double
-
Highlight opacity (0.0 to 1.0).
final
- position → String
-
Highlight position: 'top-left', 'top-right', 'bottom-left', 'bottom-right'.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this HighlightsConfig to a JSON map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited