CupertinoToolbarBuilder typedef Null safety

Widget CupertinoToolbarBuilder(
  1. BuildContext context,
  2. Offset anchor,
  3. bool isAbove,
  4. 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,
);