WidgetInspector constructor

const WidgetInspector({Key key, @required Widget child, @required InspectorSelectButtonBuilder selectButtonBuilder })

Creates a widget that enables inspection for the child.

The child argument must not be null.

Implementation

const WidgetInspector({
  Key key,
  @required this.child,
  @required this.selectButtonBuilder,
}) : assert(child != null),
     super(key: key);