listTile property

Widget get listTile

Implementation

Widget get listTile => App.useCupertino
    ? CupertinoListTile(
        key: Key('ListTile$_key'),
        leading: leading ?? onLeading(),
        title: title ?? onTitle(),
        subtitle: subtitle ?? onSubtitle(),
        trailing: trailing,
      )
    : ListTile(
        key: Key('ListTile$_key'),
        leading: leading ?? onLeading(),
        title: title ?? onTitle(),
        subtitle: subtitle ?? onSubtitle(),
        trailing: trailing,
        isThreeLine: isThreeLine ?? false,
        dense: dense,
        iconColor: iconColor,
        textColor: textColor,
        visualDensity: visualDensity,
        shape: shape,
        selectedColor: selectedColor,
        contentPadding: contentPadding,
        enabled: enabled ?? true,
        onTap: tap ?? onTap,
        onLongPress: longPress ?? onLongPress,
        selected: selected ?? false,
        focusColor: focusColor,
        hoverColor: hoverColor,
        focusNode: focusNode,
        autofocus: autofocus ?? false,
        tileColor: tileColor,
        selectedTileColor: selectedTileColor,
      );