QuickPick<T extends QuickPickItem> constructor

QuickPick<T extends QuickPickItem>({
  1. String? value,
  2. String? placeholder,
  3. Event<String>? onDidChangeValue,
  4. Event<void>? onDidAccept,
  5. List<QuickInputButton>? buttons,
  6. Event<QuickInputButton>? onDidTriggerButton,
  7. Event<QuickPickItemButtonEvent>? onDidTriggerItemButton,
  8. List? items,
  9. bool? canSelectMany,
  10. bool? matchOnDescription,
  11. bool? matchOnDetail,
  12. bool? keepScrollPosition,
  13. List? activeItems,
  14. Event<List>? onDidChangeActive,
  15. List? selectedItems,
  16. Event<List>? onDidChangeSelection,
  17. String? title,
  18. num? step,
  19. num? totalSteps,
  20. bool? enabled,
  21. bool? busy,
  22. bool? ignoreFocusOut,
  23. Event<void>? onDidHide,
  24. void show()?,
  25. void hide()?,
  26. void dispose()?,
})

Implementation

factory QuickPick({
  _i2.String? value,
  _i2.String? placeholder,
  _i3.Event<_i2.String>? onDidChangeValue,
  _i3.Event<void>? onDidAccept,
  _i2.List<_i3.QuickInputButton>? buttons,
  _i3.Event<_i3.QuickInputButton>? onDidTriggerButton,
  _i3.Event<_i3.QuickPickItemButtonEvent<_i2.dynamic>>?
      onDidTriggerItemButton,
  _i2.List<_i2.dynamic>? items,
  _i2.bool? canSelectMany,
  _i2.bool? matchOnDescription,
  _i2.bool? matchOnDetail,
  _i2.bool? keepScrollPosition,
  _i2.List<_i2.dynamic>? activeItems,
  _i3.Event<_i2.List<_i2.dynamic>>? onDidChangeActive,
  _i2.List<_i2.dynamic>? selectedItems,
  _i3.Event<_i2.List<_i2.dynamic>>? onDidChangeSelection,
  _i2.String? title,
  _i2.num? step,
  _i2.num? totalSteps,
  _i2.bool? enabled,
  _i2.bool? busy,
  _i2.bool? ignoreFocusOut,
  _i3.Event<void>? onDidHide,
  void Function()? show,
  void Function()? hide,
  void Function()? dispose,
}) =>
    QuickPick._(
      value: value,
      placeholder: placeholder ?? _i6.undefined,
      onDidChangeValue: onDidChangeValue ?? _i6.undefined,
      onDidAccept: onDidAccept ?? _i6.undefined,
      buttons: buttons ?? _i6.undefined,
      onDidTriggerButton: onDidTriggerButton ?? _i6.undefined,
      onDidTriggerItemButton: onDidTriggerItemButton ?? _i6.undefined,
      items: items ?? _i6.undefined,
      canSelectMany: canSelectMany,
      matchOnDescription: matchOnDescription,
      matchOnDetail: matchOnDetail,
      keepScrollPosition: keepScrollPosition,
      activeItems: activeItems ?? _i6.undefined,
      onDidChangeActive: onDidChangeActive ?? _i6.undefined,
      selectedItems: selectedItems ?? _i6.undefined,
      onDidChangeSelection: onDidChangeSelection ?? _i6.undefined,
      title: title ?? _i6.undefined,
      step: step ?? _i6.undefined,
      totalSteps: totalSteps ?? _i6.undefined,
      enabled: enabled,
      busy: busy,
      ignoreFocusOut: ignoreFocusOut,
      onDidHide: onDidHide ?? _i6.undefined,
      show: show == null ? null : _i5.allowInterop(show),
      hide: hide == null ? null : _i5.allowInterop(hide),
      dispose: dispose == null ? null : _i5.allowInterop(dispose),
    );