Tile constructor
const
Tile({
- Key? key,
- Widget? title,
- Widget? subtitle,
- Widget? leading,
- Widget? trailing,
- VoidCallback? onPressed,
- double knownIconSize = 20,
- EdgeInsets contentPadding = const EdgeInsets.symmetric(vertical: 8, horizontal: 16),
- EdgeInsets leadingPadding = const EdgeInsets.only(right: 10, top: 4),
- EdgeInsets trailingPadding = const EdgeInsets.only(left: 10, top: 4),
- bool sliver = false,
Implementation
const Tile({
super.key,
this.title,
this.subtitle,
this.leading,
this.trailing,
this.onPressed,
this.knownIconSize = 20,
this.contentPadding =
const EdgeInsets.symmetric(vertical: 8, horizontal: 16),
this.leadingPadding = const EdgeInsets.only(right: 10, top: 4),
this.trailingPadding = const EdgeInsets.only(left: 10, top: 4),
this.sliver = false,
});