SpinnerView constructor
SpinnerView({
- required List<
Widget> childers, - required Widget hintWidget,
- required double width_frame,
- required double height_frame,
- required double iconSize,
- required SpinnerViewCallBack onSelectPosition,
- double? radiusButton,
- Decoration? decorationOutlineDropdown,
- Widget? iconDropdown,
- TextStyle? textStyleItemDropdown,
- Color? colorDropdownMenu,
- Color? colorDropdownButtonOutline,
- Color? colorDropdownTextBackground,
- Color? underlineColor,
- int? previousPosition,
- String? errorBackendKeyJson,
- Map<
String, dynamic> ? errorBackendJson, - TextStyle? errorTextStyle,
- Decoration? errorOutlineDropdownDropdown,
- TextDirection? textDirection,
- @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();
}