copyWith method
NeomageComponentTheme
copyWith(
{ - double? buttonHeight,
- double? buttonRadius,
- double? cardRadius,
- double? cardElevation,
- double? inputHeight,
- double? inputRadius,
- double? chipHeight,
- double? badgeSize,
- double? tooltipRadius,
- double? dialogRadius,
- double? statusBarHeight,
- double? panelMinWidth,
})
Implementation
NeomageComponentTheme copyWith({
double? buttonHeight,
double? buttonRadius,
double? cardRadius,
double? cardElevation,
double? inputHeight,
double? inputRadius,
double? chipHeight,
double? badgeSize,
double? tooltipRadius,
double? dialogRadius,
double? statusBarHeight,
double? sidebarWidth,
double? panelMinWidth,
}) {
return NeomageComponentTheme(
buttonHeight: buttonHeight ?? this.buttonHeight,
buttonRadius: buttonRadius ?? this.buttonRadius,
cardRadius: cardRadius ?? this.cardRadius,
cardElevation: cardElevation ?? this.cardElevation,
inputHeight: inputHeight ?? this.inputHeight,
inputRadius: inputRadius ?? this.inputRadius,
chipHeight: chipHeight ?? this.chipHeight,
badgeSize: badgeSize ?? this.badgeSize,
tooltipRadius: tooltipRadius ?? this.tooltipRadius,
dialogRadius: dialogRadius ?? this.dialogRadius,
statusBarHeight: statusBarHeight ?? this.statusBarHeight,
sidebarWidth: sidebarWidth ?? this.sidebarWidth,
panelMinWidth: panelMinWidth ?? this.panelMinWidth,
);
}