CupertinoToolbarBuilder typedef Null safety

CupertinoToolbarBuilder = Widget Function(BuildContext context, Offset anchor, bool isAbove, Widget child)

The type for a Function that builds a toolbar's container with the given child.

The anchor is provided in global coordinates.

See also:

Implementation

typedef CupertinoToolbarBuilder = Widget Function(
  BuildContext context,
  Offset anchor,
  bool isAbove,
  Widget child,
);