copyWith method

Material3BottomBarTheme copyWith({
  1. Duration? animationDuration,
  2. NavigationDestinationLabelBehavior? labelBehavior,
  3. double? elevation,
  4. Color? bgColor,
  5. double? height,
})

Implementation

Material3BottomBarTheme copyWith({
  Duration? animationDuration,
  NavigationDestinationLabelBehavior? labelBehavior,
  double? elevation,
  Color? bgColor,
  double? height,
}) {
  return Material3BottomBarTheme(
    animationDuration: animationDuration ?? this.animationDuration,
    labelBehavior: labelBehavior ?? this.labelBehavior,
    elevation: elevation ?? this.elevation,
    bgColor: bgColor ?? this.bgColor,
    height: height ?? this.height,
  );
}