Inheritance
System.Object
Transform
public class Transform : SingleChildRenderObjectWidget
Constructors
Declaration
public Transform(Key key = null, Matrix3 transform = null, Offset origin = null, Alignment alignment = null, bool transformHitTests = true, Widget child = null)
Parameters
Fields
Declaration
public readonly Alignment alignment
Field Value
Declaration
public readonly Offset origin
Field Value
Declaration
public readonly Matrix3 transform
Field Value
Declaration
public readonly bool transformHitTests
Field Value
Type |
Description |
System.Boolean |
|
Methods
createRenderObject(BuildContext)
Declaration
public override RenderObject createRenderObject(BuildContext context)
Parameters
Returns
Overrides
Declaration
public static Transform rotate(Key key = null, float degree = 0F, Offset origin = null, Alignment alignment = null, bool transformHitTests = true, Widget child = null)
Parameters
Type |
Name |
Description |
Key |
key |
|
System.Single |
degree |
|
Offset |
origin |
|
Alignment |
alignment |
|
System.Boolean |
transformHitTests |
|
Widget |
child |
|
Returns
Declaration
public static Transform scale(Key key = null, float scale = 1F, Offset origin = null, Alignment alignment = null, bool transformHitTests = true, Widget child = null)
Parameters
Type |
Name |
Description |
Key |
key |
|
System.Single |
scale |
|
Offset |
origin |
|
Alignment |
alignment |
|
System.Boolean |
transformHitTests |
|
Widget |
child |
|
Returns
Declaration
public static Transform translate(Key key = null, Offset offset = null, bool transformHitTests = true, Widget child = null)
Parameters
Type |
Name |
Description |
Key |
key |
|
Offset |
offset |
|
System.Boolean |
transformHitTests |
|
Widget |
child |
|
Returns
updateRenderObject(BuildContext, RenderObject)
Declaration
public override void updateRenderObject(BuildContext context, RenderObject renderObjectRaw)
Parameters
Overrides