VSelect constructor
VSelect({
- Key? key,
- required List<
PopupMenuEntry> itemBuilder(), - Widget? buttonText,
- bool isDisabled = false,
- Icon? icons,
- void onSelected(
- dynamic
- void onCanceled()?,
- bool validate = false,
- String validateText = "An error occurred",
- Widget? inLineMessage,
- String? headerLabel,
- bool isReadOnly = false,
- FocusNode? focusNode,
- bool isInline = false,
- VSelectStyle? style,
- VExt? vExt,
- MainAxisAlignment? mainAxisAlignment,
- bool showErrorMessage = false,
- bool showErrorIcon = false,
- String? semanticsLabel,
- void onDidGainAccessibilityFocus()?,
- PopupMenuPosition? position = PopupMenuPosition.under,
- Offset offset = const Offset(0, 10),
- String? semanticReadout,
Implementation
VSelect({
Key? key,
required this.itemBuilder,
this.buttonText,
this.isDisabled = false,
this.icons,
this.onSelected,
this.onCanceled,
this.validate = false,
this.validateText = "An error occurred",
this.inLineMessage,
this.headerLabel,
this.isReadOnly = false,
this.focusNode,
this.isInline = false,
this.style,
this.vExt,
this.mainAxisAlignment,
this.showErrorMessage = false,
this.showErrorIcon = false,
this.semanticsLabel,
this.onDidGainAccessibilityFocus,
this.position = PopupMenuPosition.under,
this.offset = const Offset(0, 10),
this.semanticReadout,
}) : super(key: key);