SFComboBox constructor
const
SFComboBox({
- Key? key,
- SFComboBoxStatus status = SFComboBoxStatus.select,
- String? hintText,
- double padding = 10,
- Color? outlineColor,
- double outlineWidth = 1.0,
- double outlineRadius = 10,
- double? width,
- double? height,
- Widget? suffixIcon,
- dynamic onTap()?,
- ScrollPhysics? scrollPhysics,
- Color? backgroundColor,
- Color? focusedBackgroundColor,
- 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);