ViewPortWidget.fixed constructor
ViewPortWidget.fixed({})
Provides a fixed ViewPort configuration.
See also:
- FixedViewPort - provides a statically defined height and width.
- FixedViewPortFactory - provides FixedViewPort-backed dynamic configuration
Implementation
ViewPortWidget.fixed({
required Widget child,
double height = double.infinity,
double width = double.infinity,
Key? key,
}) : this(
factory: FixedViewPortFactory(
height: height,
width: width,
),
child: child,
key: key,
);