CupertinoToolbarBuilder typedef
The type for a Function that builds a toolbar's container with the given child.
The anchor is provided in global coordinates.
See also:
- CupertinoTextSelectionToolbar.toolbarBuilder, which is of this type.
- TextSelectionToolbar.toolbarBuilder, which is similar, but for an Material-style toolbar.
Implementation
typedef CupertinoToolbarBuilder = Widget Function(
BuildContext context,
Offset anchorAbove,
Offset anchorBelow,
Widget child,
);