listTile property

Widget get listTile

Implementation

Widget get listTile => App.useCupertino
    ? CupertinoListTile(
        key: Key('ListTile$_key'),
        title: title ?? onTitle(),
        subtitle: subtitle ?? onSubtitle(),
        additionalInfo: additionalInfo,
        leading: leading ?? onLeading(),
        trailing: trailing,
        onTap: forTap,
        backgroundColor: backgroundColor,
        backgroundColorActivated: backgroundColorActivated,
        padding: padding,
        leadingSize: leadingSize!,
        leadingToTitle: leadingToTitle!,
      )
    : ListTile(
        key: Key('ListTile$_key'),
        leading: leading ?? onLeading(),
        title: title ?? onTitle(),
        subtitle: subtitle ?? onSubtitle(),
        trailing: trailing,
        isThreeLine: isThreeLine!,
        dense: dense,
        visualDensity: visualDensity,
        shape: shape,
        style: tileStyle,
        selectedColor: selectedColor,
        iconColor: iconColor,
        textColor: textColor,
        contentPadding: contentPadding,
        enabled: enabled!,
        onTap: tap ?? onTap,
        onLongPress: longPress ?? onLongPress,
        onFocusChange: onFocusChange,
        mouseCursor: mouseCursor,
        selected: selected!,
        focusColor: focusColor,
        hoverColor: hoverColor,
        splashColor: splashColor,
        focusNode: focusNode,
        autofocus: autofocus!,
        tileColor: tileColor,
        selectedTileColor: selectedTileColor,
        enableFeedback: enableFeedback,
        horizontalTitleGap: horizontalTitleGap,
        minVerticalPadding: minVerticalPadding,
        minLeadingWidth: minLeadingWidth,
      );