copyWith method
DraggablePanelTheme
copyWith(
{ - double? draggableButtonWidth,
- double? draggableButtonHeight,
- Color? draggableButtonColor,
- Color? panelBackgroundColor,
- BoxBorder? panelBorder,
- BorderRadiusGeometry? panelBorderRadius,
- List<BoxShadow>? panelBoxShadow,
- Color? panelItemColor,
- Color? panelButtonColor,
- Color? foregroundColor,
})
Implementation
DraggablePanelTheme copyWith({
double? draggableButtonWidth,
double? draggableButtonHeight,
Color? draggableButtonColor,
Color? panelBackgroundColor,
BoxBorder? panelBorder,
BorderRadiusGeometry? panelBorderRadius,
List<BoxShadow>? panelBoxShadow,
Color? panelItemColor,
Color? panelButtonColor,
Color? foregroundColor,
}) {
return DraggablePanelTheme(
draggableButtonWidth: draggableButtonWidth ?? this.draggableButtonWidth,
draggableButtonHeight:
draggableButtonHeight ?? this.draggableButtonHeight,
draggableButtonColor: draggableButtonColor ?? this.draggableButtonColor,
panelBackgroundColor: panelBackgroundColor ?? this.panelBackgroundColor,
panelBorder: panelBorder ?? this.panelBorder,
panelBorderRadius: panelBorderRadius ?? this.panelBorderRadius,
panelBoxShadow: panelBoxShadow ?? this.panelBoxShadow,
panelItemColor: panelItemColor ?? this.panelItemColor,
panelButtonColor: panelButtonColor ?? this.panelButtonColor,
foregroundColor: foregroundColor ?? this.foregroundColor,
);
}