copyWith method

NeomageComponentTheme copyWith({
  1. double? buttonHeight,
  2. double? buttonRadius,
  3. double? cardRadius,
  4. double? cardElevation,
  5. double? inputHeight,
  6. double? inputRadius,
  7. double? chipHeight,
  8. double? badgeSize,
  9. double? tooltipRadius,
  10. double? dialogRadius,
  11. double? statusBarHeight,
  12. double? sidebarWidth,
  13. 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,
  );
}