VelocityListTileStyle constructor

const VelocityListTileStyle({
  1. Color backgroundColor = VelocityColors.white,
  2. Color selectedColor = VelocityColors.primaryLight,
  3. Color? splashColor,
  4. EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 12),
  5. EdgeInsets densePadding = const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
  6. TextStyle titleStyle = const TextStyle(fontSize: 16, color: VelocityColors.gray900),
  7. TextStyle subtitleStyle = const TextStyle(fontSize: 14, color: VelocityColors.gray500),
  8. double leadingSpacing = 16,
  9. double trailingSpacing = 16,
  10. 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,
});