GlassActionSheetAction constructor
- required Widget child,
- Object? result,
- VoidCallback? onPressed,
- bool isDefault = false,
- bool destructive = false,
Creates a row for an action sheet.
Implementation
const GlassActionSheetAction({
required this.child,
this.result,
this.onPressed,
this.isDefault = false,
this.destructive = false,
});