copyWith method

PlatformListTile copyWith({
  1. Widget? leading,
  2. Widget? title,
  3. Widget? bottom,
  4. Widget? subtitle,
  5. Widget? trailing,
  6. 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,
  );
}