ViewPortWidget constructor

const ViewPortWidget({
  1. required WidgetViewPortFactory factory,
  2. required Widget child,
  3. Key? key,
})

Configures the widget with any passed WidgetViewPortFactory implementation.

These implementation can be user-defined, and that's why the API internals was made public.

See also:

Implementation

const ViewPortWidget({
  required this.factory,
  required Widget child,
  Key? key,
}) : super(key: key, child: child);