menu
flame package
documentation
camera.dart
FixedAspectRatioViewport
FixedAspectRatioViewport constructor
FixedAspectRatioViewport constructor
dark_mode
light_mode
FixedAspectRatioViewport
constructor
FixedAspectRatioViewport
(
{
required
double
aspectRatio
,
Iterable
<
Component
>
?
children
,
})
Implementation
FixedAspectRatioViewport({ required this.aspectRatio, super.children, }) : assert(aspectRatio > 0);
flame package
documentation
camera
FixedAspectRatioViewport
FixedAspectRatioViewport constructor
FixedAspectRatioViewport class