QuickPick<T extends QuickPickItem> constructor
QuickPick<T extends QuickPickItem> ({
- 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()?,
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),
);