VSelect constructor

VSelect({
  1. Key? key,
  2. required List<PopupMenuEntry> itemBuilder(
    1. BuildContext
    ),
  3. Widget? buttonText,
  4. bool isDisabled = false,
  5. Icon? icons,
  6. void onSelected(
    1. dynamic
    )?,
  7. void onCanceled()?,
  8. bool validate = false,
  9. String validateText = "An error occurred",
  10. Widget? inLineMessage,
  11. String? headerLabel,
  12. bool isReadOnly = false,
  13. FocusNode? focusNode,
  14. bool isInline = false,
  15. VSelectStyle? style,
  16. VExt? vExt,
  17. MainAxisAlignment? mainAxisAlignment,
  18. bool showErrorMessage = false,
  19. bool showErrorIcon = false,
  20. String? semanticsLabel,
  21. void onDidGainAccessibilityFocus()?,
  22. PopupMenuPosition? position = PopupMenuPosition.under,
  23. Offset offset = const Offset(0, 10),
  24. 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);