fixed method
Provides a ViewPort which holds the given height
and width
statically. Arguments are set to double.infinity by default.
const ViewPorts().fixed(height: 400, width: 500);
Implementation
ViewPort fixed({
double height = double.infinity,
double width = double.infinity,
}) =>
FixedViewPort(height: height, width: width);