GlassSwipeAction constructor
const
GlassSwipeAction({})
Creates a swipe action.
Implementation
const GlassSwipeAction({
required this.icon,
this.label,
required this.onTap,
this.backgroundColor,
this.foregroundColor = CupertinoColors.white,
this.isDestructive = false,
this.closeOnTap = true,
this.flex = 1,
this.semanticLabel,
}) : assert(flex > 0, 'flex must be greater than 0');