FixedResolutionViewport constructor
FixedResolutionViewport({
- required Vector2 resolution,
- Iterable<
Component> ? children,
Implementation
FixedResolutionViewport({
required this.resolution,
super.children,
}) : super(aspectRatio: resolution.x / resolution.y);