BottomSheetAction class Null safety

The Actions model that will use on the ActionSheet.

Constructors

BottomSheetAction({required Widget title, required void onPressed(BuildContext context), Widget? trailing, Widget? leading})

Properties

hashCode int
The hash code for this object.
read-onlyinherited
leading Widget?
A widget to display before the title.
final
onPressed → void Function(BuildContext context)
The callback that is called when the action item is tapped. (required)
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
title Widget
The primary content of the action sheet.
final
trailing Widget?
A widget to display after the title.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited