AspectRatio constructor Null safety

const AspectRatio(
  1. {Key? key,
  2. required double aspectRatio,
  3. Widget? child}
)

Implementation

const factory AspectRatio(
    {final Key? key,
    required final double aspectRatio,
    final Widget? child}) = _$AspectRatio;