AccentPanelThemeData class
Theme data for AccentPanel widgets.
Accent panels display a colored vertical stripe on one side with content.
Constructors
- AccentPanelThemeData({Color? accentColor, int? accentWidth, Color? background, Color? foreground, EdgeInsets? padding, Border? border})
-
const
Properties
- accentColor → Color?
-
Color of the accent stripe.
Defaults to Theme.primary.
final
- accentWidth → int?
-
Character width of the accent stripe (typically 1 or 2).
Defaults to 1.
final
- background → Color?
-
Background color of the panel body.
Defaults to Theme.surface.
final
- border → Border?
-
Border style for the panel frame.
final
- foreground → Color?
-
Text color in the panel body.
Defaults to Theme.onSurface.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- padding → EdgeInsets?
-
Content padding inside the panel.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{Color? accentColor, int? accentWidth, Color? background, Color? foreground, EdgeInsets? padding, Border? border}) → AccentPanelThemeData - Copy with selective overrides.
-
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