Inheritance
System.Object
FractionallySizedBox
public class FractionallySizedBox : SingleChildRenderObjectWidget
Constructors
Declaration
public FractionallySizedBox(Key key = null, Alignment alignment = null, float? widthFactor = default(float? ), float? heightFactor = default(float? ), Widget child = null)
Parameters
Type |
Name |
Description |
Key |
key |
|
Alignment |
alignment |
|
System.Nullable<System.Single> |
widthFactor |
|
System.Nullable<System.Single> |
heightFactor |
|
Widget |
child |
|
Fields
Declaration
public readonly Alignment alignment
Field Value
Declaration
public readonly float? heightFactor
Field Value
Type |
Description |
System.Nullable<System.Single> |
|
Declaration
public readonly float? widthFactor
Field Value
Type |
Description |
System.Nullable<System.Single> |
|
Methods
createRenderObject(BuildContext)
Declaration
public override RenderObject createRenderObject(BuildContext context)
Parameters
Returns
Overrides
Declaration
public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
Parameters
Overrides
updateRenderObject(BuildContext, RenderObject)
Declaration
public override void updateRenderObject(BuildContext context, RenderObject _renderObject)
Parameters
Overrides