DropdownMenuItem< T> constructor
Creates an item for a dropdown menu.
The child
argument is required.
Implementation
const DropdownMenuItem({
Key key,
this.value,
@required this.child,
}) : assert(child != null),
super(key: key);