PanelView constructor

const PanelView({
  1. Key? key,
  2. required PanelDescriptor descriptor,
  3. Map<String, List<InspectorEvent>> events = const {},
  4. Map<String, Map<String, Object?>> states = const {},
  5. Set<String> busy = const {},
  6. Map<String, String> results = const {},
  7. void onKnob(
    1. String name,
    2. Object? value
    )?,
  8. void onAction(
    1. String actionId,
    2. Map<String, Object?> args
    )?,
  9. void onItemAction(
    1. String actionId,
    2. int eventId
    )?,
  10. void onReadState(
    1. String stateId
    )?,
})

Implementation

const PanelView({
  super.key,
  required this.descriptor,
  this.events = const {},
  this.states = const {},
  this.busy = const {},
  this.results = const {},
  this.onKnob,
  this.onAction,
  this.onItemAction,
  this.onReadState,
});