TxPanel constructor

const TxPanel({
  1. required Widget? title,
  2. Key? key,
  3. Widget? leading,
  4. Widget? subtitle,
  5. Widget? trailing,
  6. Widget? footer,
  7. Widget? content,
  8. GestureTapCallback? onTap,
  9. EdgeInsetsGeometry? padding,
  10. EdgeInsetsGeometry? margin,
  11. bool? dense = false,
  12. Color? panelColor,
  13. double? verticalGap,
  14. double? horizontalTitleGap,
  15. bool enabled = true,
  16. bool selected = false,
  17. VisualDensity? visualDensity,
  18. ShapeBorder? shape,
  19. Color? selectedColor,
  20. Color? iconColor,
  21. Color? textColor,
  22. GestureLongPressCallback? onLongPress,
  23. MouseCursor? mouseCursor,
  24. Color? focusColor,
  25. Color? splashColor,
  26. Color? hoverColor,
  27. FocusNode? focusNode,
  28. bool autofocus = false,
  29. Color? selectedPanelColor,
  30. ValueChanged<bool>? onFocusChange,
  31. bool? enableFeedback,
  32. double? minLeadingWidth,
  33. TextStyle? titleTextStyle,
  34. TextStyle? subtitleTextStyle,
  35. TextStyle? contentTextStyle,
  36. TextStyle? leadingAndTrailingTextStyle,
  37. ListTileTitleAlignment? titleAlignment,
  38. Color? highlightColor,
})

Implementation

const TxPanel({
  required this.title,
  super.key,
  this.leading,
  this.subtitle,
  this.trailing,
  this.footer,
  this.content,
  this.onTap,
  this.padding,
  this.margin,
  this.dense = false,
  this.panelColor,
  this.verticalGap,
  this.horizontalTitleGap,
  this.enabled = true,
  this.selected = false,
  this.visualDensity,
  this.shape,
  this.selectedColor,
  this.iconColor,
  this.textColor,
  this.onLongPress,
  this.mouseCursor,
  this.focusColor,
  this.splashColor,
  this.hoverColor,
  this.focusNode,
  this.autofocus = false,
  this.selectedPanelColor,
  this.onFocusChange,
  this.enableFeedback,
  this.minLeadingWidth,
  this.titleTextStyle,
  this.subtitleTextStyle,
  this.contentTextStyle,
  this.leadingAndTrailingTextStyle,
  this.titleAlignment,
  this.highlightColor,
});