Inheritance
System.Object
AspectRatio
public class AspectRatio : SingleChildRenderObjectWidget
Constructors
Declaration
public AspectRatio(Key key = null, float aspectRatio = 1F, Widget child = null)
Parameters
Type |
Name |
Description |
Key |
key |
|
System.Single |
aspectRatio |
|
Widget |
child |
|
Fields
Declaration
public readonly float aspectRatio
Field Value
Type |
Description |
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