Inheritance
System.Object
CustomPaint
public class CustomPaint : SingleChildRenderObjectWidget
Constructors
Declaration
public CustomPaint(Key key = null, CustomPainter painter = null, CustomPainter foregroundPainter = null, Size size = null, bool isComplex = false, bool willChange = false, Widget child = null)
Parameters
Fields
Declaration
public readonly CustomPainter foregroundPainter
Field Value
Declaration
public readonly bool isComplex
Field Value
Type |
Description |
System.Boolean |
|
Declaration
public readonly CustomPainter painter
Field Value
Declaration
public readonly Size size
Field Value
Declaration
public readonly bool willChange
Field Value
Type |
Description |
System.Boolean |
|
Methods
createRenderObject(BuildContext)
Declaration
public override RenderObject createRenderObject(BuildContext context)
Parameters
Returns
Overrides
Declaration
public override void didUnmountRenderObject(RenderObject renderObject)
Parameters
Overrides
updateRenderObject(BuildContext, RenderObject)
Declaration
public override void updateRenderObject(BuildContext context, RenderObject renderObject)
Parameters
Overrides