PrismTile constructor

const PrismTile({
  1. Key? key,
  2. Widget? leading,
  3. required String title,
  4. String? subtitle,
  5. Widget? trailing,
  6. Widget? badge,
  7. VoidCallback? onTap,
  8. VoidCallback? onLongPress,
  9. bool selected = false,
  10. bool enabled = true,
  11. bool dense = false,
})

Creates a tile.

Implementation

const PrismTile({
  super.key,
  this.leading,
  required this.title,
  this.subtitle,
  this.trailing,
  this.badge,
  this.onTap,
  this.onLongPress,
  this.selected = false,
  this.enabled = true,
  this.dense = false,
});