Class StatelessElement
Inheritance
System.Object
StatelessElement
Inherited Members
Namespace: Unity.UIWidgets.widgets
Syntax
public class StatelessElement : ComponentElement, BuildContext
Constructors
StatelessElement(StatelessWidget)
Declaration
public StatelessElement(StatelessWidget widget)
Parameters
Type | Name | Description |
---|---|---|
StatelessWidget | widget |
Properties
widget
Declaration
public StatelessWidget widget { get; }
Property Value
Type | Description |
---|---|
StatelessWidget |
Methods
build()
Declaration
protected override Widget build()
Returns
Type | Description |
---|---|
Widget |
Overrides
update(Widget)
Declaration
public override void update(Widget newWidget)
Parameters
Type | Name | Description |
---|---|---|
Widget | newWidget |