FixedSizeViewport constructor

FixedSizeViewport(
  1. double width,
  2. double height, {
  3. Iterable<Component>? children,
})

Implementation

FixedSizeViewport(
  double width,
  double height, {
  super.children,
}) {
  size = Vector2(width, height);
}