Size.fromHeight constructor

const Size.fromHeight(double height)

Creates a Size with the given height and an infinite width.

Implementation

const Size.fromHeight(double height) : super(double.infinity, height);