SpinnerView constructor

SpinnerView({
  1. required List<Widget> childers,
  2. required Widget hintWidget,
  3. required double width_frame,
  4. required double height_frame,
  5. required double iconSize,
  6. required SpinnerViewCallBack onSelectPosition,
  7. double? radiusButton,
  8. Decoration? decorationOutlineDropdown,
  9. Widget? iconDropdown,
  10. TextStyle? textStyleItemDropdown,
  11. Color? colorDropdownMenu,
  12. Color? colorDropdownButtonOutline,
  13. Color? colorDropdownTextBackground,
  14. Color? underlineColor,
  15. int? previousPosition,
  16. String? errorBackendKeyJson,
  17. Map<String, dynamic>? errorBackendJson,
  18. TextStyle? errorTextStyle,
  19. Decoration? errorOutlineDropdownDropdown,
  20. TextDirection? textDirection,
  21. @deprecated ValueChanged<SpinnerViewState>? changeState,
})

Implementation

SpinnerView (  {
  required  List<Widget> this.childers ,
  required Widget this.hintWidget,
  required double this.width_frame,
  required double this.height_frame,
  required double this.iconSize,
  required SpinnerViewCallBack this.onSelectPosition,
  this.radiusButton,
  this.decorationOutlineDropdown,
  this.iconDropdown,
  this.textStyleItemDropdown,

  this.colorDropdownMenu,
  this.colorDropdownButtonOutline,
  // this.colorDropdownButtonBackground,
  this.colorDropdownTextBackground,
  this.underlineColor,
  this.previousPosition,

  //error
  this.errorBackendKeyJson,
  this.errorBackendJson,
  // this.errorColor,
  this.errorTextStyle,
  this.errorOutlineDropdownDropdown,

  //arabic
  this.textDirection,

  @deprecated
  ValueChanged<SpinnerViewState>? this.changeState

}){
  setDefaultValue();
  fixWidthWithIconSpinner();
  _setValidatorFromBackend();
}