copyWith method
TermosMetrics
copyWith({
- double? borderRadius,
- double? buttonHeight,
- double? buttonIconSize,
- double? buttonIconSpacing,
- double? buttonLoadingSpinnerSize,
- double? buttonLoadingSpinnerSlotSize,
- int? buttonDisabledTransitionMs,
- double? buttonHorizontalPadding,
- double? backButtonDefaultSize,
- EdgeInsets? backButtonPadding,
- double? backButtonBackgroundBlend,
- String? backButtonGlyph,
- double? tapTargetDefaultBorderRadius,
- double? segmentedHeight,
- int? segmentedGlowAnimationMs,
- double? timePickerWheelWidth,
- double? timePickerItemExtent,
- int? timePickerVisibleItems,
- int? timePickerPulseAnimationMs,
- double? crtScanlineOpacity,
- double? crtVignetteStrength,
- double? crtOuterBorderWidth,
- double? glowTopBorderStrokeWidth,
Implementation
TermosMetrics copyWith({
double? borderRadius,
double? buttonHeight,
double? buttonIconSize,
double? buttonIconSpacing,
double? buttonLoadingSpinnerSize,
double? buttonLoadingSpinnerSlotSize,
int? buttonDisabledTransitionMs,
double? buttonHorizontalPadding,
double? backButtonDefaultSize,
EdgeInsets? backButtonPadding,
double? backButtonBackgroundBlend,
String? backButtonGlyph,
double? tapTargetDefaultBorderRadius,
double? navBarHorizontalPadding,
double? navBarOuterHorizontalPadding,
double? navBarOuterBottomPadding,
double? navBarHeight,
double? navBarCornerRadius,
double? navBarItemVerticalPadding,
double? navBarIconSize,
double? navBarIconLabelGap,
int? navBarBorderAnimationMs,
double? segmentedHeight,
int? segmentedGlowAnimationMs,
double? timePickerWheelWidth,
double? timePickerItemExtent,
int? timePickerVisibleItems,
int? timePickerPulseAnimationMs,
double? crtScanlineOpacity,
double? crtVignetteStrength,
double? crtOuterBorderWidth,
double? glowTopBorderStrokeWidth,
}) {
return TermosMetrics(
borderRadius: borderRadius ?? this.borderRadius,
buttonHeight: buttonHeight ?? this.buttonHeight,
buttonIconSize: buttonIconSize ?? this.buttonIconSize,
buttonIconSpacing: buttonIconSpacing ?? this.buttonIconSpacing,
buttonLoadingSpinnerSize: buttonLoadingSpinnerSize ?? this.buttonLoadingSpinnerSize,
buttonLoadingSpinnerSlotSize:
buttonLoadingSpinnerSlotSize ?? this.buttonLoadingSpinnerSlotSize,
buttonDisabledTransitionMs: buttonDisabledTransitionMs ?? this.buttonDisabledTransitionMs,
buttonHorizontalPadding: buttonHorizontalPadding ?? this.buttonHorizontalPadding,
backButtonDefaultSize: backButtonDefaultSize ?? this.backButtonDefaultSize,
backButtonPadding: backButtonPadding ?? this.backButtonPadding,
backButtonBackgroundBlend: backButtonBackgroundBlend ?? this.backButtonBackgroundBlend,
backButtonGlyph: backButtonGlyph ?? this.backButtonGlyph,
tapTargetDefaultBorderRadius:
tapTargetDefaultBorderRadius ?? this.tapTargetDefaultBorderRadius,
navBarHorizontalPadding: navBarHorizontalPadding ?? this.navBarHorizontalPadding,
navBarOuterHorizontalPadding:
navBarOuterHorizontalPadding ?? this.navBarOuterHorizontalPadding,
navBarOuterBottomPadding: navBarOuterBottomPadding ?? this.navBarOuterBottomPadding,
navBarHeight: navBarHeight ?? this.navBarHeight,
navBarCornerRadius: navBarCornerRadius ?? this.navBarCornerRadius,
navBarItemVerticalPadding: navBarItemVerticalPadding ?? this.navBarItemVerticalPadding,
navBarIconSize: navBarIconSize ?? this.navBarIconSize,
navBarIconLabelGap: navBarIconLabelGap ?? this.navBarIconLabelGap,
navBarBorderAnimationMs: navBarBorderAnimationMs ?? this.navBarBorderAnimationMs,
segmentedHeight: segmentedHeight ?? this.segmentedHeight,
segmentedGlowAnimationMs: segmentedGlowAnimationMs ?? this.segmentedGlowAnimationMs,
timePickerWheelWidth: timePickerWheelWidth ?? this.timePickerWheelWidth,
timePickerItemExtent: timePickerItemExtent ?? this.timePickerItemExtent,
timePickerVisibleItems: timePickerVisibleItems ?? this.timePickerVisibleItems,
timePickerPulseAnimationMs: timePickerPulseAnimationMs ?? this.timePickerPulseAnimationMs,
crtScanlineOpacity: crtScanlineOpacity ?? this.crtScanlineOpacity,
crtVignetteStrength: crtVignetteStrength ?? this.crtVignetteStrength,
crtOuterBorderWidth: crtOuterBorderWidth ?? this.crtOuterBorderWidth,
glowTopBorderStrokeWidth: glowTopBorderStrokeWidth ?? this.glowTopBorderStrokeWidth,
);
}