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