hasCallbacks property Null safety

bool hasCallbacks

Whether a callback is currently registered.

Implementation

@override
bool get hasCallbacks => super.hasCallbacks || (_children.isNotEmpty);