menu
grock package
documentation
grock.dart
SizeExtension
aspectRatio method
aspectRatio method
dark_mode
light_mode
aspectRatio
method
double
aspectRatio
(
double
width
,
double
height
)
Implementation
double aspectRatio(double width, double height) => MediaQuery.of(this).size.width / width * height;
grock package
documentation
grock
SizeExtension
aspectRatio method
SizeExtension extension on
BuildContext