Detector constructor
Creates a widget detector observing the child
widget tree
A non empty, unique areaID
has to be provided.
By default the detector is not cumulative
.
Implementation
Detector({
required Widget child,
required String areaID,
bool cumulative = false,
}) : this._(
child: child,
areaID: areaID,
cumulative: cumulative,
);