Size.fromHeight constructor

const Size.fromHeight(
  1. double height
)

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

Implementation

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