copyWith method

ZdsBottomBarThemeData copyWith(
  1. {double? height,
  2. List<BoxShadow>? shadows,
  3. Color? backgroundColor,
  4. 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,
  );
}