builder method

  1. @override
Widget builder(
  1. Widget builder(
    1. BuildContext context
    )
)
override

Implementation

@override
Widget builder(Widget Function(BuildContext context) builder) {
  final initialEntry = OverlayEntry(builder: (context) => builder(context));
  return Overlay(
    key: overlayKey,
    initialEntries: [initialEntry],
  );
}