ContextMenuPreviewBuilder typedef

Widget ContextMenuPreviewBuilder (
  1. BuildContext context,
  2. Animation<double> animation,
  3. Widget child
)

A function that produces the preview when the CupertinoContextMenu is open.

Called every time the animation value changes.

Implementation

typedef ContextMenuPreviewBuilder = Widget Function(
  BuildContext context,
  Animation<double> animation,
  Widget child,
);