copyWith method

  1. @override
FdcGridTheme copyWith({
  1. FdcGridThemeData? data,
  2. FdcGridStyle? style,
})
override

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

Implementation

@override
FdcGridTheme copyWith({FdcGridThemeData? data, FdcGridStyle? style}) {
  return FdcGridTheme(data: data ?? this.data, style: style ?? this.style);
}