WidgetInspector constructor

const WidgetInspector(
  1. {Key key,
  2. @required Widget child,
  3. @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);