copyWith method

  1. @override
WxListTileThemeData copyWith({
  1. WxListTileStyle? style,
  2. WxListTileBuilder? wrapper,
})
override

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

Implementation

@override
WxListTileThemeData copyWith({
  WxListTileStyle? style,
  WxListTileBuilder? wrapper,
}) {
  return WxListTileThemeData(
    style: this.style.merge(style),
    wrapper: wrapper ?? this.wrapper,
  );
}