Class StatelessWidget
Inheritance
System.Object
StatelessWidget
Inherited Members
Namespace: Unity.UIWidgets.widgets
Syntax
public abstract class StatelessWidget : Widget
Constructors
StatelessWidget(Key)
Declaration
protected StatelessWidget(Key key = null)
Parameters
Type | Name | Description |
---|---|---|
Key | key |
Methods
build(BuildContext)
Declaration
public abstract Widget build(BuildContext context)
Parameters
Type | Name | Description |
---|---|---|
BuildContext | context |
Returns
Type | Description |
---|---|
Widget |
createElement()
Declaration
public override Element createElement()
Returns
Type | Description |
---|---|
Element |