copyWith method
PlatformListTile
copyWith({
- Widget? leading,
- Widget? title,
- Widget? bottom,
- Widget? subtitle,
- Widget? trailing,
- PlatformCardArgs? args,
inherited
Implementation
PlatformListTile copyWith({
Widget? leading,
Widget? title,
Widget? bottom,
Widget? subtitle,
Widget? trailing,
PlatformCardArgs? args,
}) {
return PlatformListTile.cardArgs(
args,
leading: leading ?? this.leading,
title: title ?? this.title,
bottom: bottom ?? this.bottom,
subtitle: subtitle ?? this.subtitle,
trailing: trailing ?? this.trailing,
);
}