aspectRatio property
The aspect ratio constraint (width/height).
When specified, the child's dimensions will be adjusted to maintain this aspect ratio, potentially overriding explicit width/height values.
Implementation
final double? aspectRatio;
The aspect ratio constraint (width/height).
When specified, the child's dimensions will be adjusted to maintain this aspect ratio, potentially overriding explicit width/height values.
final double? aspectRatio;