DraggablePanelTheme class
DraggablePanelTheme defines the visual properties of the DraggablePanel.
You can use this class to customize the appearance of the panel globally or locally by passing it to the DraggablePanel widget.
- Annotations
Constructors
-
DraggablePanelTheme({double draggableButtonWidth = 35.0, double draggableButtonHeight = 70.0, Color? draggableButtonColor, Color? panelBackgroundColor, BoxBorder? panelBorder, BorderRadiusGeometry panelBorderRadius = const BorderRadius.all(Radius.circular(16)), List<
BoxShadow> ? panelBoxShadow, Color? panelItemColor, Color? panelButtonColor, Color? foregroundColor}) -
const
Properties
- draggableButtonColor → Color?
-
The background color of the draggable button.
final
- draggableButtonHeight → double
-
The height of the draggable button.
final
- draggableButtonWidth → double
-
The width of the draggable button.
final
- foregroundColor → Color?
-
The foreground color of the panel.
For: icons, text, etc.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- panelBackgroundColor → Color?
-
The background color of the panel.
final
- panelBorder → BoxBorder?
-
The border of the panel.
final
- panelBorderRadius → BorderRadiusGeometry
-
The border radius of the panel.
final
-
panelBoxShadow
→ List<
BoxShadow> ? -
The shadow of the panel.
final
- panelButtonColor → Color?
-
The background color of the buttons inside the panel.
final
- panelItemColor → Color?
-
The color of the items in the panel.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{double? draggableButtonWidth, double? draggableButtonHeight, Color? draggableButtonColor, Color? panelBackgroundColor, BoxBorder? panelBorder, BorderRadiusGeometry? panelBorderRadius, List< BoxShadow> ? panelBoxShadow, Color? panelItemColor, Color? panelButtonColor, Color? foregroundColor}) → DraggablePanelTheme -
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.
override