TxPanel constructor
const
TxPanel({
- required Widget? title,
- Key? key,
- Widget? leading,
- Widget? subtitle,
- Widget? trailing,
- Widget? content,
- GestureTapCallback? onTap,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- bool? dense = false,
- Color? panelColor,
- double? verticalGap,
- double? horizontalTitleGap,
- bool enabled = true,
- bool selected = false,
- VisualDensity? visualDensity,
- ShapeBorder? shape,
- Color? selectedColor,
- Color? iconColor,
- Color? textColor,
- GestureLongPressCallback? onLongPress,
- MouseCursor? mouseCursor,
- Color? focusColor,
- Color? splashColor,
- Color? hoverColor,
- FocusNode? focusNode,
- bool autofocus = false,
- Color? selectedPanelColor,
- ValueChanged<
bool> ? onFocusChange, - bool? enableFeedback,
- double? minLeadingWidth,
- TextStyle? titleTextStyle,
- TextStyle? subtitleTextStyle,
- TextStyle? contentTextStyle,
- TextStyle? leadingAndTrailingTextStyle,
- ListTileTitleAlignment? titleAlignment,
- 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,
});