DropdownItem<T> constructor
const
DropdownItem<T> ({
- required Widget child,
- double height = _kMenuItemHeight,
- bool intrinsicHeight = false,
- AlignmentGeometry alignment = AlignmentDirectional.centerStart,
- VoidCallback? onTap,
- T? value,
- bool enabled = true,
- bool closeOnTap = true,
- Key? key,
Creates a dropdown item.
The child property must be set.
Implementation
const DropdownItem({
required super.child,
super.height,
super.intrinsicHeight,
super.alignment,
this.onTap,
this.value,
this.enabled = true,
this.closeOnTap = true,
super.key,
});