Inheritance
System.Object
FittedBox
public class FittedBox : SingleChildRenderObjectWidget
Constructors
Declaration
public FittedBox(Key key = null, BoxFit fit = BoxFit.contain, Alignment alignment = null, Widget child = null)
Parameters
Fields
Declaration
public readonly Alignment alignment
Field Value
Declaration
public readonly BoxFit fit
Field Value
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