copyWith method

  1. @override
SafaehAccentStyle copyWith({
  1. bool? subtleAccents,
})
override

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

Implementation

@override
SafaehAccentStyle copyWith({bool? subtleAccents}) {
  return SafaehAccentStyle(
    subtleAccents: subtleAccents ?? this.subtleAccents,
  );
}