kImpossibleSize constant

Point<double> const kImpossibleSize

During Flutter startup the native platform resolution is not immediately available which can cause constraints to be zero before they are updated in a subsequent build to the actual constraints. We set the size to this impossible (negative) value initially and only change it once Flutter provides real constraints.

Implementation

static const kImpossibleSize = Point<double>(-1, -1);