copyWith method

  1. @override
FdcEditorTheme copyWith({
  1. FdcEditorThemeData? data,
  2. FdcEditorInputStyle? style,
})
override

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

Implementation

@override
FdcEditorTheme copyWith({
  FdcEditorThemeData? data,
  FdcEditorInputStyle? style,
}) {
  return FdcEditorTheme(data: data ?? this.data, style: style ?? this.style);
}