CommandBarActionItemBuilder typedef
CommandBarActionItemBuilder =
CommandBarItem Function(VoidCallback onPressed)
Signature of function that will build a CommandBarItem with some functionality to trigger an action (e.g., a clickable button), and it will call the given callback when the action is triggered.
Implementation
typedef CommandBarActionItemBuilder = CommandBarItem Function(
VoidCallback onPressed,
);