copyWith method

  1. @override
FKappaThemeExtension copyWith({
  1. Color? brandColor,
  2. double? defaultRadius,
})
override

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

Implementation

@override
FKappaThemeExtension copyWith({Color? brandColor, double? defaultRadius}) {
  return FKappaThemeExtension(
    brandColor: brandColor ?? this.brandColor,
    defaultRadius: defaultRadius ?? this.defaultRadius,
  );
}