hasError property

bool get hasError

Whether the layout has an error.

Implementation

bool get hasError => error != null;