QuickPick<T extends QuickPickItem> class
A concrete {@link QuickInput} to let the user pick an item from a list of items of type T. The items can be filtered through a filter text field and there is an option {@link QuickPick.canSelectManycanSelectMany} to allow for selecting multiple items.
Note that in many cases the more convenient {@link window.showQuickPick} is easier to use. {@link window.createQuickPick} should be used when {@link window.showQuickPick} does not offer the required flexibility.
- Implemented types
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
-
QuickPick({String? value, String? placeholder, Event<
String> ? onDidChangeValue, Event<void> ? onDidAccept, List<QuickInputButton> ? buttons, Event<QuickInputButton> ? onDidTriggerButton, Event<QuickPickItemButtonEvent> ? onDidTriggerItemButton, List? items, bool? canSelectMany, bool? matchOnDescription, bool? matchOnDetail, bool? keepScrollPosition, List? activeItems, Event<List> ? onDidChangeActive, List? selectedItems, Event<List> ? onDidChangeSelection, String? title, num? step, num? totalSteps, bool? enabled, bool? busy, bool? ignoreFocusOut, Event<void> ? onDidHide, void show()?, void hide()?, void dispose()?}) -
factory
Properties
-
activeItems
↔ List<
T> -
Available on QuickPick<
Active items. This can be read and updated by the extension.T> , provided by the QuickPick$Typings extensiongetter/setter pair - busy ↔ bool
-
Available on QuickInput, provided by the QuickInput$Typings extension
If the UI should show a progress indicator. Defaults to false.getter/setter pair -
Available on QuickPick<
Buttons for actions in the UI.T> , provided by the QuickPick$Typings extensiongetter/setter pair - canSelectMany ↔ bool
-
Available on QuickPick<
If multiple items can be selected at the same time. Defaults to false.T> , provided by the QuickPick$Typings extensiongetter/setter pair - dispose ↔ void Function()
-
Available on QuickInput, provided by the QuickInput$Typings extension
getter/setter pair - enabled ↔ bool
-
Available on QuickInput, provided by the QuickInput$Typings extension
If the UI should allow for user input. Defaults to true.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- hide ↔ void Function()
-
Available on QuickInput, provided by the QuickInput$Typings extension
getter/setter pair - ignoreFocusOut ↔ bool
-
Available on QuickInput, provided by the QuickInput$Typings extension
If the UI should stay open even when loosing UI focus. Defaults to false. This setting is ignored on iPad and is always false.getter/setter pair -
items
↔ List<
T> -
Available on QuickPick<
Items to pick from. This can be read and updated by the extension.T> , provided by the QuickPick$Typings extensiongetter/setter pair - keepScrollPosition ↔ bool?
-
Available on QuickPick<
An optional flag to maintain the scroll position of the quick pick when the quick pick items are updated. Defaults to false.T> , provided by the QuickPick$Typings extensiongetter/setter pair - matchOnDescription ↔ bool
-
Available on QuickPick<
If the filter text should also be matched against the description of the items. Defaults to false.T> , provided by the QuickPick$Typings extensiongetter/setter pair - matchOnDetail ↔ bool
-
Available on QuickPick<
If the filter text should also be matched against the detail of the items. Defaults to false.T> , provided by the QuickPick$Typings extensiongetter/setter pair -
onDidAccept
→ Event<
void> -
Available on QuickPick<
An event signaling when the user indicated acceptance of the selected item(s).T> , provided by the QuickPick$Typings extensionno setter -
onDidChangeActive
→ Event<
List< T> > -
Available on QuickPick<
An event signaling when the active items have changed.T> , provided by the QuickPick$Typings extensionno setter -
onDidChangeSelection
→ Event<
List< T> > -
Available on QuickPick<
An event signaling when the selected items have changed.T> , provided by the QuickPick$Typings extensionno setter -
onDidChangeValue
→ Event<
String> -
Available on QuickPick<
An event signaling when the value of the filter text has changed.T> , provided by the QuickPick$Typings extensionno setter -
onDidHide
↔ Event<
void> -
Available on QuickInput, provided by the QuickInput$Typings extension
An event signaling when this input UI is hidden.getter/setter pair -
onDidTriggerButton
→ Event<
QuickInputButton> -
Available on QuickPick<
An event signaling when a button in the title bar was triggered. This event does not fire for buttons on a {@link QuickPickItem}.T> , provided by the QuickPick$Typings extensionno setter -
onDidTriggerItemButton
→ Event<
QuickPickItemButtonEvent< T> > -
Available on QuickPick<
An event signaling when a button in a particular {@link QuickPickItem} was triggered. This event does not fire for buttons in the title bar.T> , provided by the QuickPick$Typings extensionno setter - placeholder ↔ String?
-
Available on QuickPick<
Optional placeholder shown in the filter textbox when no filter has been entered.T> , provided by the QuickPick$Typings extensiongetter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selectedItems
↔ List<
T> -
Available on QuickPick<
Selected items. This can be read and updated by the extension.T> , provided by the QuickPick$Typings extensiongetter/setter pair - show ↔ void Function()
-
Available on QuickInput, provided by the QuickInput$Typings extension
getter/setter pair - step ↔ num?
-
Available on QuickInput, provided by the QuickInput$Typings extension
An optional current step count.getter/setter pair - title ↔ String?
-
Available on QuickInput, provided by the QuickInput$Typings extension
An optional title.getter/setter pair - totalSteps ↔ num?
-
Available on QuickInput, provided by the QuickInput$Typings extension
An optional total step count.getter/setter pair - value ↔ String
-
Available on QuickPick<
Current value of the filter text.T> , provided by the QuickPick$Typings extensiongetter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited