copyWith method

  1. @override
ThemeExtension<CartStepperTheme> copyWith({
  1. CartStepperStyle? style,
})
override

Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.

Implementation

@override
ThemeExtension<CartStepperTheme> copyWith({
  CartStepperStyle? style,
}) {
  return CartStepperTheme(style: style ?? this.style?.copyWith());
}