debugCheckHasActiveMouseTracker function

bool debugCheckHasActiveMouseTracker(
  1. BuildContext context
)

Implementation

bool debugCheckHasActiveMouseTracker(BuildContext context) {
  assert(
    context.dependOnInheritedWidgetOfExactType<_ActiveMouseTrackerScope>() != null,
    '${context.widget.runtimeType} widget requires an ActiveMouseTracker widget ancestor, but none was found.'
  );
  return true;
}