OverlayStyle class sealed
Base class for overlay styling options used in various popup elements.
This sealed class provides common styling options for overlays such as suggestion popups and hover details. Extend this class to create specific overlay styles.
- Implementers
Properties
- backgroundColor → Color
-
The background color of the overlay.
final
- elevation → double
-
The elevation of the overlay, which determines the shadow depth.
Defaults to 6.
final
- focusColor → Color
-
The color used when the overlay is focused.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hoverColor → Color
-
The color used when the overlay is hovered.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shape → ShapeBorder
-
The shape of the overlay, which defines its border and corner radius.
This can be a ShapeBorder such as RoundedRectangleBorder, CircleBorder, etc.
final
- splashColor → Color
-
The color used for the splash effect when the overlay is tapped.
final
- textStyle → TextStyle
-
The text style used for the text in the overlay.
This is typically a TextStyle that defines the font size, weight, color, etc.
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