hasDefinedSize property

bool get hasDefinedSize

Check to see if the style object has a non-null, non-zero size.

Implementation

bool get hasDefinedSize => size != null && size!.longestSide > 0;