OptionEntryTile.icon constructor
- Key? key,
- IconData icon = Icons.adjust_outlined,
- required String title,
- String? description,
- VoidCallback? onTap,
- OptionEntryTileActionIcon actionIcon = OptionEntryTileActionIcon.navigateNext,
- Icon? customActionIcon,
- Color? color,
- Color? borderColor,
Creates an OptionEntryTile with a built-in Icon as the leading widget.
Implementation
const OptionEntryTile.icon({
super.key,
IconData icon = Icons.adjust_outlined,
required this.title,
this.description,
this.onTap,
this.actionIcon = OptionEntryTileActionIcon.navigateNext,
this.customActionIcon,
this.color,
this.borderColor,
}) : _leading = null,
_icon = icon,
_svgIconAsset = null;