ZdsSelectableListTile.checkable constructor

const ZdsSelectableListTile.checkable(
  1. {Key? key,
  2. Widget? leading,
  3. Widget? title,
  4. Widget? subTitle,
  5. bool selected = false,
  6. VoidCallback? onTap,
  7. String? semanticLabel}
)

A tile with rounded edges that can be toggled as selected or unselected and shows a check icon when selected.

Implementation

const ZdsSelectableListTile.checkable({
  super.key,
  this.leading,
  this.title,
  this.subTitle,
  this.selected = false,
  this.onTap,
  this.semanticLabel,
})  : trailing = const Icon(ZdsIcons.check),
      _checkable = true;