SelectDefaultDynamic<T> constructor

SelectDefaultDynamic<T>({
  1. required List<T> options,
  2. required String getText(
    1. T?
    ),
  3. BuildContext? context,
  4. DropDownSize? size,
  5. String getIcons(
    1. T?
    )?,
  6. bool inlineLabel = false,
  7. Color avatarColor = RothkoColor.kPrimaryBase,
  8. bool hasIcons = false,
  9. AvatarSize avatarSize = AvatarSize.normal,
  10. bool hasAvatarIcons = false,
  11. bool? networkIcons = false,
  12. void onChanged(
    1. T?
    )?,
  13. AutovalidateMode? autovalidateMode,
  14. Widget labelAction = const SizedBox(),
  15. T? selected,
  16. required String hintText,
  17. bool? focused = false,
  18. bool? readonly = false,
  19. dynamic onTap()?,
  20. bool? enabled = true,
  21. bool showTooltip = false,
  22. String? toolTipText = '',
  23. dynamic tooltipAction()?,
  24. Widget suffixIcon = const Icon(Icons.arrow_drop_down_rounded),
  25. required String labelText,
  26. Color? labelTextColor,
  27. String? validator(
    1. T?
    )?,
  28. double? labelTextSize,
  29. BorderSide? customBorder,
  30. double? width,
})

Implementation

SelectDefaultDynamic(
    {required this.options,
    required this.getText,
    this.context,
    this.size,
    this.getIcons,
    this.inlineLabel = false,
    this.avatarColor = RothkoColor.kPrimaryBase,
    this.hasIcons = false,
    this.avatarSize = AvatarSize.normal,
    this.hasAvatarIcons = false,
    this.networkIcons = false,
    this.onChanged,
    this.autovalidateMode,
    this.labelAction = const SizedBox(),
    this.selected,
    required this.hintText,
    this.focused = false,
    this.readonly = false,
    this.onTap,
    this.enabled = true,
    this.showTooltip = false,
    this.toolTipText = '',
    this.tooltipAction,
    this.suffixIcon = const Icon(
      Icons.arrow_drop_down_rounded,
    ),
    required this.labelText,
    this.labelTextColor,
    this.validator,
    this.labelTextSize,
    this.customBorder,
    this.width});