VelocityListTileStyle constructor
const
VelocityListTileStyle({
- Color backgroundColor = VelocityColors.white,
- Color selectedColor = VelocityColors.primaryLight,
- Color? splashColor,
- EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 12),
- EdgeInsets densePadding = const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
- TextStyle titleStyle = const TextStyle(fontSize: 16, color: VelocityColors.gray900),
- TextStyle subtitleStyle = const TextStyle(fontSize: 14, color: VelocityColors.gray500),
- double leadingSpacing = 16,
- double trailingSpacing = 16,
- double subtitleSpacing = 4,
Implementation
const VelocityListTileStyle({
this.backgroundColor = VelocityColors.white,
this.selectedColor = VelocityColors.primaryLight,
this.splashColor,
this.padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 12),
this.densePadding = const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
this.titleStyle =
const TextStyle(fontSize: 16, color: VelocityColors.gray900),
this.subtitleStyle =
const TextStyle(fontSize: 14, color: VelocityColors.gray500),
this.leadingSpacing = 16,
this.trailingSpacing = 16,
this.subtitleSpacing = 4,
});