Class WillPopScope
Inheritance
System.Object
WillPopScope
Inherited Members
Namespace: Unity.UIWidgets.widgets
Syntax
public class WillPopScope : StatefulWidget
Constructors
WillPopScope(Key, Widget, WillPopCallback)
Declaration
public WillPopScope(Key key = null, Widget child = null, WillPopCallback onWillPop = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Key | key | |
| Widget | child | |
| WillPopCallback | onWillPop |
Fields
child
Declaration
public readonly Widget child
Field Value
| Type | Description |
|---|---|
| Widget |
onWillPop
Declaration
public readonly WillPopCallback onWillPop
Field Value
| Type | Description |
|---|---|
| WillPopCallback |
Methods
createState()
Declaration
public override State createState()
Returns
| Type | Description |
|---|---|
| State |