anyControlsHaveStatus method Null safety

  1. @override
bool anyControlsHaveStatus(
  1. ControlStatus status
)
override

Returns true if all children has the specified status, otherwise returns false.

This is for internal use only.

Implementation

@override
bool anyControlsHaveStatus(ControlStatus status) {
  return _controls.values.any((control) => control.status == status);
}