JsonListTile constructor

JsonListTile({
  1. Map<String, dynamic> args = const {},
  2. JsonWidgetRegistry? registry,
  3. bool autofocus = false,
  4. EdgeInsetsGeometry? contentPadding,
  5. bool? dense,
  6. bool? enableFeedback,
  7. bool enabled = true,
  8. Color? focusColor,
  9. FocusNode? focusNode,
  10. double? horizontalTitleGap,
  11. Color? hoverColor,
  12. Color? iconColor,
  13. bool isThreeLine = false,
  14. JsonWidgetData? leading,
  15. TextStyle? leadingAndTrailingTextStyle,
  16. double? minLeadingWidth,
  17. double? minTileHeight,
  18. double? minVerticalPadding,
  19. MouseCursor? mouseCursor,
  20. void onFocusChange(
    1. bool
    )?,
  21. void onLongPress()?,
  22. void onTap()?,
  23. bool selected = false,
  24. Color? selectedColor,
  25. Color? selectedTileColor,
  26. ShapeBorder? shape,
  27. Color? splashColor,
  28. ListTileStyle? style,
  29. JsonWidgetData? subtitle,
  30. TextStyle? subtitleTextStyle,
  31. Color? textColor,
  32. Color? tileColor,
  33. JsonWidgetData? title,
  34. ListTileTitleAlignment? titleAlignment,
  35. TextStyle? titleTextStyle,
  36. JsonWidgetData? trailing,
  37. VisualDensity? visualDensity,
})

Implementation

JsonListTile({
  Map<String, dynamic> args = const {},
  JsonWidgetRegistry? registry,
  this.autofocus = false,
  this.contentPadding,
  this.dense,
  this.enableFeedback,
  this.enabled = true,
  this.focusColor,
  this.focusNode,
  this.horizontalTitleGap,
  this.hoverColor,
  this.iconColor,
  this.isThreeLine = false,
  this.leading,
  this.leadingAndTrailingTextStyle,
  this.minLeadingWidth,
  this.minTileHeight,
  this.minVerticalPadding,
  this.mouseCursor,
  this.onFocusChange,
  this.onLongPress,
  this.onTap,
  this.selected = false,
  this.selectedColor,
  this.selectedTileColor,
  this.shape,
  this.splashColor,
  this.style,
  this.subtitle,
  this.subtitleTextStyle,
  this.textColor,
  this.tileColor,
  this.title,
  this.titleAlignment,
  this.titleTextStyle,
  this.trailing,
  this.visualDensity,
}) : super(
        jsonWidgetArgs: JsonListTileBuilderModel.fromDynamic(
          {
            'autofocus': autofocus,
            'contentPadding': contentPadding,
            'dense': dense,
            'enableFeedback': enableFeedback,
            'enabled': enabled,
            'focusColor': focusColor,
            'focusNode': focusNode,
            'horizontalTitleGap': horizontalTitleGap,
            'hoverColor': hoverColor,
            'iconColor': iconColor,
            'isThreeLine': isThreeLine,
            'leading': leading,
            'leadingAndTrailingTextStyle': leadingAndTrailingTextStyle,
            'minLeadingWidth': minLeadingWidth,
            'minTileHeight': minTileHeight,
            'minVerticalPadding': minVerticalPadding,
            'mouseCursor': mouseCursor,
            'onFocusChange': onFocusChange,
            'onLongPress': onLongPress,
            'onTap': onTap,
            'selected': selected,
            'selectedColor': selectedColor,
            'selectedTileColor': selectedTileColor,
            'shape': shape,
            'splashColor': splashColor,
            'style': style,
            'subtitle': subtitle,
            'subtitleTextStyle': subtitleTextStyle,
            'textColor': textColor,
            'tileColor': tileColor,
            'title': title,
            'titleAlignment': titleAlignment,
            'titleTextStyle': titleTextStyle,
            'trailing': trailing,
            'visualDensity': visualDensity,
            ...args,
          },
          args: args,
          registry: registry,
        ),
        jsonWidgetBuilder: () => JsonListTileBuilder(
          args: JsonListTileBuilderModel.fromDynamic(
            {
              'autofocus': autofocus,
              'contentPadding': contentPadding,
              'dense': dense,
              'enableFeedback': enableFeedback,
              'enabled': enabled,
              'focusColor': focusColor,
              'focusNode': focusNode,
              'horizontalTitleGap': horizontalTitleGap,
              'hoverColor': hoverColor,
              'iconColor': iconColor,
              'isThreeLine': isThreeLine,
              'leading': leading,
              'leadingAndTrailingTextStyle': leadingAndTrailingTextStyle,
              'minLeadingWidth': minLeadingWidth,
              'minTileHeight': minTileHeight,
              'minVerticalPadding': minVerticalPadding,
              'mouseCursor': mouseCursor,
              'onFocusChange': onFocusChange,
              'onLongPress': onLongPress,
              'onTap': onTap,
              'selected': selected,
              'selectedColor': selectedColor,
              'selectedTileColor': selectedTileColor,
              'shape': shape,
              'splashColor': splashColor,
              'style': style,
              'subtitle': subtitle,
              'subtitleTextStyle': subtitleTextStyle,
              'textColor': textColor,
              'tileColor': tileColor,
              'title': title,
              'titleAlignment': titleAlignment,
              'titleTextStyle': titleTextStyle,
              'trailing': trailing,
              'visualDensity': visualDensity,
              ...args,
            },
            args: args,
            registry: registry,
          ),
        ),
        jsonWidgetType: JsonListTileBuilder.kType,
      );