SFComboBox constructor

const SFComboBox({
  1. Key? key,
  2. SFComboBoxStatus status = SFComboBoxStatus.select,
  3. required List<SFSelectMenu> menus,
  4. String? hintText,
  5. double padding = 10,
  6. Color? outlineColor,
  7. double outlineWidth = 1.0,
  8. double outlineRadius = 10,
  9. double? width,
  10. double? height,
  11. Widget? suffixIcon,
  12. dynamic onTap(
    1. int
    )?,
  13. ScrollPhysics? scrollPhysics,
  14. Color? backgroundColor,
  15. Color? menuBackgroundColor,
  16. Color? focusedBackgroundColor,
  17. double menuHeight = 40,
  18. double spacing = 10,
})

Implementation

const SFComboBox({
  Key? key,
  this.status = SFComboBoxStatus.select,
  required this.menus,
  this.hintText,
  this.padding = 10,
  this.outlineColor,
  this.outlineWidth = 1.0,
  this.outlineRadius = 10,
  this.width,
  this.height,
  this.suffixIcon,
  this.onTap,
  this.scrollPhysics,
  this.backgroundColor,
  this.menuBackgroundColor,
  this.focusedBackgroundColor,
  this.menuHeight = 40,
  this.spacing = 10,
}) : super(key: key);