FixedAspectRatioViewport constructor

FixedAspectRatioViewport({
  1. required double aspectRatio,
  2. Iterable<Component>? children,
})

Implementation

FixedAspectRatioViewport({
  required this.aspectRatio,
  super.children,
}) : assert(aspectRatio > 0);