ZetaListItem constructor

const ZetaListItem({
  1. required String primaryText,
  2. String? secondaryText,
  3. Widget? leading,
  4. VoidCallback? onTap,
  5. bool? showDivider,
  6. Widget? trailing,
  7. Key? key,
  8. bool? rounded,
})

Creates a ZetaListItem.

Implementation

const ZetaListItem({
  required this.primaryText,
  this.secondaryText,
  this.leading,
  this.onTap,
  this.showDivider,
  this.trailing,
  super.key,
  super.rounded,
});