ClueListTile constructor

const ClueListTile({
  1. Key? key,
  2. MainAxisSize mainAxisSize = MainAxisSize.max,
  3. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
  4. VoidCallback? onTap,
  5. EdgeInsets padding = const EdgeInsets.only(),
  6. required Widget leftWidget,
  7. double leftWidgetMinWidth = 100,
  8. Widget centerWidget = const SizedBox.shrink(),
  9. Widget centerAndRightGapWidget = const Spacer(),
  10. Widget? rightWidget,
})

Creates a ClueListTile.

mainAxisSize specifies the main axis size of the row. crossAxisAlignment specifies the cross axis alignment of the row. onTap is the callback function called when the tile is tapped. padding is the padding inside the tile. leftWidget is the widget displayed on the left side of the tile. leftWidgetMinWidth is the minimum width of the left widget. centerWidget is the widget displayed in the center of the tile. centerAndRightGapWidget is the widget displayed between the center and right widgets. rightWidget is the widget displayed on the right side of the tile.

Implementation

const ClueListTile({
  super.key,
  this.mainAxisSize = MainAxisSize.max,
  this.crossAxisAlignment = CrossAxisAlignment.center,
  this.onTap,
  this.padding = const EdgeInsets.only(),
  required this.leftWidget,
  this.leftWidgetMinWidth = 100,
  this.centerWidget = const SizedBox.shrink(),
  this.centerAndRightGapWidget = const Spacer(),
  this.rightWidget,
});