Tile constructor

const Tile({
  1. String? title,
  2. Component? titleWidget,
  3. String? subtitle,
  4. Component? subtitleWidget,
  5. Component? leading,
  6. Component? trailing,
  7. void onTap()?,
  8. bool selected = false,
  9. bool disabled = false,
  10. EdgeInsets? padding,
  11. bool dense = false,
  12. Key? key,
})

Implementation

const Tile({
  this.title,
  this.titleWidget,
  this.subtitle,
  this.subtitleWidget,
  this.leading,
  this.trailing,
  this.onTap,
  this.selected = false,
  this.disabled = false,
  this.padding,
  this.dense = false,
  super.key,
});