copyWith method
      
StepperTheme
copyWith({ 
    
- ValueGetter<
Axis?> ? direction, - ValueGetter<
StepSize?> ? size, - ValueGetter<
StepVariant?> ? variant, 
Creates a copy of this theme with optionally overridden properties.
Implementation
StepperTheme copyWith({
  ValueGetter<Axis?>? direction,
  ValueGetter<StepSize?>? size,
  ValueGetter<StepVariant?>? variant,
}) {
  return StepperTheme(
    direction: direction == null ? this.direction : direction(),
    size: size == null ? this.size : size(),
    variant: variant == null ? this.variant : variant(),
  );
}