YaruTile constructor
const
YaruTile({
- Key? key,
- Widget? leading,
- Widget? title,
- Widget? subtitle,
- Widget? trailing,
- bool enabled = true,
- EdgeInsetsGeometry padding = const EdgeInsets.all(8.0),
- 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,
});