FlyoutListTile constructor

const FlyoutListTile({
  1. Key? key,
  2. VoidCallback? onPressed,
  3. String? tooltip,
  4. Widget? icon,
  5. required Widget text,
  6. Widget? trailing,
  7. FocusNode? focusNode,
  8. bool autofocus = false,
  9. String? semanticLabel,
  10. EdgeInsetsGeometry margin = const EdgeInsetsDirectional.only(bottom: 5.0),
  11. bool selected = false,
  12. bool showSelectedIndicator = true,
})

Creates a flyout list tile.

Implementation

const FlyoutListTile({
  super.key,
  this.onPressed,
  this.tooltip,
  this.icon,
  required this.text,
  this.trailing,
  this.focusNode,
  this.autofocus = false,
  this.semanticLabel,
  this.margin = const EdgeInsetsDirectional.only(bottom: 5.0),
  this.selected = false,
  this.showSelectedIndicator = true,
});