buildCustom method

  1. @override
Widget buildCustom({
  1. ChildWidgetBuilder? childBuilder,
  2. required BuildContext context,
  3. required JsonWidgetData data,
  4. Key? key,
})
override

Custom builder that subclasses must override and implement to return the actual Widget to be placed on the tree.

Implementation

@override
Widget buildCustom({
  ChildWidgetBuilder? childBuilder,
  required BuildContext context,
  required JsonWidgetData data,
  Key? key,
}) {
  return ListTile(
    autofocus: autofocus,
    contentPadding: contentPadding,
    dense: dense,
    enableFeedback: enableFeedback,
    enabled: enabled,
    focusColor: focusColor,
    focusNode: focusNode,
    horizontalTitleGap: horizontalTitleGap,
    hoverColor: hoverColor,
    iconColor: iconColor,
    isThreeLine: isThreeLine,
    key: key,
    leading: leading?.build(
      childBuilder: childBuilder,
      context: context,
    ),
    minLeadingWidth: minLeadingWidth,
    minVerticalPadding: minVerticalPadding,
    mouseCursor: mouseCursor,
    onLongPress: onLongPress,
    onTap: onTap,
    selected: selected,
    selectedColor: selectedColor,
    selectedTileColor: selectedTileColor,
    shape: shape,
    splashColor: splashColor,
    style: style,
    subtitle: subtitle?.build(
      childBuilder: childBuilder,
      context: context,
    ),
    textColor: textColor,
    tileColor: tileColor,
    title: title?.build(
      childBuilder: childBuilder,
      context: context,
    ),
    trailing: trailing?.build(
      childBuilder: childBuilder,
      context: context,
    ),
    visualDensity: visualDensity,
  );
}