hasNoText method

bool hasNoText(
  1. TabItem item
)

Return true if title text exists

Implementation

bool hasNoText(TabItem item) {
  return item.title == null || item.title!.isEmpty;
}