InputBox constructor
InputBox({
- String? value,
- (num, num)? valueSelection,
- String? placeholder,
- bool? password,
- Event<
String> ? onDidChangeValue, - Event<
void> ? onDidAccept, - List<
QuickInputButton> ? buttons, - Event<
QuickInputButton> ? onDidTriggerButton, - String? prompt,
- dynamic validationMessage,
- String? title,
- num? step,
- num? totalSteps,
- bool? enabled,
- bool? busy,
- bool? ignoreFocusOut,
- Event<
void> ? onDidHide, - void show()?,
- void hide()?,
- void dispose()?,
Implementation
factory InputBox({
_i2.String? value,
(
_i2.num,
_i2.num,
)? valueSelection,
_i2.String? placeholder,
_i2.bool? password,
_i3.Event<_i2.String>? onDidChangeValue,
_i3.Event<void>? onDidAccept,
_i2.List<_i3.QuickInputButton>? buttons,
_i3.Event<_i3.QuickInputButton>? onDidTriggerButton,
_i2.String? prompt,
_i2.dynamic validationMessage,
_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,
}) =>
InputBox._(
value: value,
valueSelection: valueSelection == null
? _i6.undefined
: [
valueSelection.$1,
valueSelection.$2,
],
placeholder: placeholder ?? _i6.undefined,
password: password,
onDidChangeValue: onDidChangeValue ?? _i6.undefined,
onDidAccept: onDidAccept ?? _i6.undefined,
buttons: buttons ?? _i6.undefined,
onDidTriggerButton: onDidTriggerButton ?? _i6.undefined,
prompt: prompt ?? _i6.undefined,
validationMessage: validationMessage,
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),
);