isEmptyValue property

bool get isEmptyValue

Whether this item has no value to show: no widget and a null or blank value. Values like 0, - or n/a are real values and are kept.

Implementation

bool get isEmptyValue => widget == null && (value == null || value!.trim().isEmpty);