copyWith method

  1. @override
TileThemeData copyWith({
  1. TileStyle? style,
})
override

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

Implementation

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