DefaultListItem constructor

const DefaultListItem({
  1. Key? key,
  2. Widget? leading,
  3. Widget? title,
  4. Widget? description,
  5. IconData? leadingIcon,
  6. Widget? trailing,
  7. GestureTapCallback? onTap,
  8. HighlightController? highlightController,
  9. void onHover(
    1. bool
    )?,
})

Implementation

const DefaultListItem({
  Key? key,
  this.leading,
  this.title,
  this.description,
  this.leadingIcon,
  this.trailing,
  this.onTap,
  this.highlightController,
  this.onHover,
})  : assert(leading == null || leadingIcon == null),
      super(key: key);