copyWith method
- {double? height,
- List<
BoxShadow> ? shadows, - Color? backgroundColor,
- EdgeInsets? contentPadding}
Creates a copy of this ZdsBottomBarThemeData, but with the given fields replaced wih the new values.
Implementation
ZdsBottomBarThemeData copyWith({
double? height,
List<BoxShadow>? shadows,
Color? backgroundColor,
EdgeInsets? contentPadding,
}) {
return ZdsBottomBarThemeData(
height: height ?? this.height,
shadows: shadows ?? this.shadows,
backgroundColor: backgroundColor ?? this.backgroundColor,
contentPadding: contentPadding ?? this.contentPadding,
);
}