build method
Build the widget.
Implementation
@override
Widget build(final BuildContext context) {
final actionsContext = PerformableActionsContext.fromActions(
actions,
closeMenuOnEscape: closeMenuOnEscape,
);
return Semantics(
customSemanticsActions: actionsContext.customSemanticActions,
child: MenuAnchor(
menuChildren: actionsContext.menuChildren,
builder: (final builderContext, final controller, final _) =>
CallbackShortcuts(
bindings: actionsContext.bindings,
child: builder(builderContext, controller),
),
controller: controller,
),
);
}