YaruTile constructor

const YaruTile({
  1. Key? key,
  2. Widget? leading,
  3. Widget? title,
  4. Widget? subtitle,
  5. Widget? trailing,
  6. bool enabled = true,
  7. EdgeInsetsGeometry padding = const EdgeInsets.all(8.0),
  8. YaruTileStyle style = YaruTileStyle.normal,
})

Creates a Yaru style ListTile similar widget.

for example:

YaruTile(
  title: Text('title'),
  subtitle: Text('subtitle'),
  trailing: Text('trailing'),
)

Implementation

const YaruTile({
  super.key,
  this.leading,
  this.title,
  this.subtitle,
  this.trailing,
  this.enabled = true,
  this.padding = const EdgeInsets.all(8.0),
  this.style = YaruTileStyle.normal,
});