copyWith method

  1. @override
ListTileThemeData copyWith({
  1. ListTileStyle? style,
})
override

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

Implementation

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