FormSelect constructor

FormSelect({
  1. Key key,
  2. YekongaForm formControl,
  3. String value,
  4. @required String name,
  5. FocusNode focusNode,
  6. List<Map<String, dynamic>> items,
  7. dynamic itemTemplate<Widget>(
    1. Map<String, dynamic>
    ),
  8. InputDecoration decoration = const InputDecoration(),
  9. TextInputType keyboardType = TextInputType.text,
  10. TextInputAction textInputAction,
  11. TextCapitalization textCapitalization = TextCapitalization.none,
  12. TextStyle style,
  13. StrutStyle strutStyle,
  14. TextAlign textAlign = TextAlign.start,
  15. TextAlignVertical textAlignVertical,
  16. TextDirection textDirection,
  17. bool readOnly = false,
  18. ToolbarOptions toolbarOptions,
  19. bool showCursor,
  20. bool autofocus = false,
  21. bool isRequired = false,
  22. String obscuringCharacter = '•',
  23. bool obscureText = false,
  24. bool autocorrect = true,
  25. SmartDashesType smartDashesType = SmartDashesType.enabled,
  26. SmartQuotesType smartQuotesType = SmartQuotesType.enabled,
  27. bool enableSuggestions = true,
  28. int maxLines = 1,
  29. int minLines,
  30. bool expands = false,
  31. int maxLength,
  32. bool maxLengthEnforced = true,
  33. MaxLengthEnforcement maxLengthEnforcement,
  34. ValueChanged<String> onChanged,
  35. VoidCallback onEditingComplete,
  36. ValueChanged<String> onSubmitted,
  37. AppPrivateCommandCallback onAppPrivateCommand,
  38. List<TextInputFormatter> inputFormatters,
  39. bool enabled = false,
  40. double cursorWidth = 2.0,
  41. double cursorHeight,
  42. Radius cursorRadius,
  43. Color cursorColor,
  44. Brightness keyboardAppearance,
  45. EdgeInsets scrollPadding = const EdgeInsets.all(20.0),
  46. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  47. bool enableInteractiveSelection = true,
  48. TextSelectionControls selectionControls,
  49. GestureTapCallback onTap,
  50. MouseCursor mouseCursor,
  51. InputCounterWidgetBuilder buildCounter,
  52. ScrollController scrollController,
  53. ScrollPhysics scrollPhysics,
  54. Iterable<String> autofillHints,
  55. String restorationId,
})

Implementation

FormSelect({
  Key key,
  this.formControl,
  this.value,
  @required this.name,
  this.focusNode,
  this.items,
  this.itemTemplate,
  this.decoration = const InputDecoration(),
  this.keyboardType = TextInputType.text,
  this.textInputAction,
  this.textCapitalization = TextCapitalization.none,
  this.style,
  this.strutStyle,
  this.textAlign = TextAlign.start,
  this.textAlignVertical,
  this.textDirection,
  this.readOnly = false,
  this.toolbarOptions,
  this.showCursor,
  this.autofocus = false,
  this.isRequired = false,
  this.obscuringCharacter = '•',
  this.obscureText = false,
  this.autocorrect = true,
  this.smartDashesType = SmartDashesType.enabled,
  this.smartQuotesType = SmartQuotesType.enabled,
  this.enableSuggestions = true,
  this.maxLines = 1,
  this.minLines,
  this.expands = false,
  this.maxLength,
  this.maxLengthEnforced = true,
  this.maxLengthEnforcement,
  this.onChanged,
  this.onEditingComplete,
  this.onSubmitted,
  this.onAppPrivateCommand,
  this.inputFormatters,
  this.enabled = false,
  this.cursorWidth = 2.0,
  this.cursorHeight,
  this.cursorRadius,
  this.cursorColor,
  this.keyboardAppearance,
  this.scrollPadding = const EdgeInsets.all(20.0),
  this.dragStartBehavior = DragStartBehavior.start,
  this.enableInteractiveSelection = true,
  this.selectionControls,
  this.onTap,
  this.mouseCursor,
  this.buildCounter,
  this.scrollController,
  this.scrollPhysics,
  this.autofillHints,
  this.restorationId,
}) : super(key: key);