ToolbarBuilder typedef Null safety
The type for a Function that builds a toolbar's container with the given child.
See also:
- TextSelectionToolbar.toolbarBuilder, which is of this type. type.
- CupertinoTextSelectionToolbar.toolbarBuilder, which is similar, but for a Cupertino-style toolbar.
Implementation
typedef ToolbarBuilder = Widget Function(BuildContext context, Widget child);