copyWith method
PullDownMenuRouteTheme
copyWith({
- Color? backgroundColor,
- BorderRadius? borderRadius,
- BoxShadow? beginShadow,
- BoxShadow? endShadow,
- double? width,
Creates a copy of this object with the given fields replaced with the new values.
Implementation
PullDownMenuRouteTheme copyWith({
Color? backgroundColor,
BorderRadius? borderRadius,
BoxShadow? beginShadow,
BoxShadow? endShadow,
double? width,
}) =>
PullDownMenuRouteTheme(
backgroundColor: backgroundColor ?? this.backgroundColor,
borderRadius: borderRadius ?? this.borderRadius,
beginShadow: beginShadow ?? this.beginShadow,
endShadow: endShadow ?? this.endShadow,
width: width ?? this.width,
);