PerformableActions constructor
const
PerformableActions({
- required List<
PerformableAction> actions, - required Widget child,
- Widget buttonBuilder(
- BuildContext builderContext,
- MenuController controller
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
- MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
- MainAxisSize mainAxisSize = MainAxisSize.max,
- double spacing = 0.0,
- VerticalDirection verticalDirection = VerticalDirection.down,
- MenuController? controller,
- bool closeMenuOnEscape = true,
- Key? key,
Create an instance.
Implementation
const PerformableActions({
required this.actions,
required this.child,
this.buttonBuilder = defaultButtonBuilder,
this.crossAxisAlignment = CrossAxisAlignment.center,
this.mainAxisAlignment = MainAxisAlignment.start,
this.mainAxisSize = MainAxisSize.max,
this.spacing = 0.0,
this.verticalDirection = VerticalDirection.down,
this.controller,
this.closeMenuOnEscape = true,
super.key,
});