GlassListTile constructor
const
GlassListTile({
- Key? key,
- Widget? leading,
- required Widget title,
- Widget? subtitle,
- Widget? trailing,
- VoidCallback? onTap,
- VoidCallback? onLongPress,
- EdgeInsetsGeometry contentPadding = const EdgeInsets.symmetric(horizontal: 16, vertical: 12),
- Color? leadingIconColor,
- TextStyle? titleStyle,
- TextStyle? subtitleStyle,
Creates a glass list tile for use inside a GlassCard, GlassGroupedSection, or other glass container. Does not create its own glass layer.
Implementation
const GlassListTile({
super.key,
this.leading,
required this.title,
this.subtitle,
this.trailing,
this.onTap,
this.onLongPress,
this.contentPadding = const EdgeInsets.symmetric(
horizontal: 16,
vertical: 12,
),
this.leadingIconColor,
this.titleStyle,
this.subtitleStyle,
}) : _useOwnLayer = false,
_settings = null,
_quality = null;