ViewPortWidget constructor
const
ViewPortWidget({
- required WidgetViewPortFactory factory,
- required Widget child,
- 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:
- WidgetViewPortFactory - provides an interface for dynamic ViewPort configuration.
Implementation
const ViewPortWidget({
required this.factory,
required Widget child,
Key? key,
}) : super(key: key, child: child);