Class PreferredSize
Inheritance
System.Object
PreferredSize
Inherited Members
Namespace: Unity.UIWidgets.widgets
Syntax
public class PreferredSize : PreferredSizeWidget, SizePreferred
Constructors
PreferredSize(Key, Widget, Size)
Declaration
public PreferredSize(Key key = null, Widget child = null, Size preferredSize = null)
Parameters
Type | Name | Description |
---|---|---|
Key | key | |
Widget | child | |
Size | preferredSize |
Fields
child
Declaration
public readonly Widget child
Field Value
Type | Description |
---|---|
Widget |
Properties
preferredSize
Declaration
public override Size preferredSize { get; }
Property Value
Type | Description |
---|---|
Size |
Overrides
Methods
createState()
Declaration
public override State createState()
Returns
Type | Description |
---|---|
State |