SizeWithUnitAndAspect.heightAndAspectRatio constructor

SizeWithUnitAndAspect.heightAndAspectRatio(
  1. DoubleWithUnit height,
  2. double aspectRatio
)

Implementation

SizeWithUnitAndAspect.heightAndAspectRatio(DoubleWithUnit height, double aspectRatio) {
  _heightAndAspectRatio = SizeWithAspect(height, aspectRatio);
}