copyWith method

  1. @override
TextTileThemeData copyWith({
  1. TextTileStyle? style,
})
override

Creates a copy of this TextTileThemeData but with the given fields replaced with the new values.

Implementation

@override
TextTileThemeData copyWith({TextTileStyle? style}) {
  return TextTileThemeData(
    style: this.style.merge(style),
  );
}