Class DropdownMenuItem<T>
Inheritance
System.Object
DropdownMenuItem<T>
Inherited Members
Namespace: Unity.UIWidgets.material
Syntax
public class DropdownMenuItem<T> : StatelessWidget where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
DropdownMenuItem(Key, T, Widget)
Declaration
public DropdownMenuItem(Key key = null, T value = null, Widget child = null)
Parameters
Type | Name | Description |
---|---|---|
Key | key | |
T | value | |
Widget | child |
Fields
child
Declaration
public readonly Widget child
Field Value
Type | Description |
---|---|
Widget |
value
Declaration
public readonly T value
Field Value
Type | Description |
---|---|
T |
Methods
build(BuildContext)
Declaration
public override Widget build(BuildContext context)
Parameters
Type | Name | Description |
---|---|---|
BuildContext | context |
Returns
Type | Description |
---|---|
Widget |