ContextMenuPreviewBuilder typedef Null safety
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,
);