Inheritance
System.Object
PhysicalModel
public class PhysicalModel : SingleChildRenderObjectWidget
Constructors
Declaration
public PhysicalModel(Key key = null, BoxShape shape = BoxShape.rectangle, Clip clipBehavior = Clip.none, BorderRadius borderRadius = null, float elevation = 0F, Color color = null, Color shadowColor = null, Widget child = null)
Parameters
Fields
Declaration
public readonly BorderRadius borderRadius
Field Value
Declaration
public readonly Clip clipBehavior
Field Value
Declaration
public readonly Color color
Field Value
Declaration
public readonly float elevation
Field Value
Type |
Description |
System.Single |
|
Declaration
public readonly Color shadowColor
Field Value
Declaration
public readonly BoxShape shape
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