Inheritance
System.Object
Positioned
public class Positioned : ParentDataWidget<Stack>
Constructors
Declaration
public Positioned(Widget child, Key key = null, float? left = default(float? ), float? top = default(float? ), float? right = default(float? ), float? bottom = default(float? ), float? width = default(float? ), float? height = default(float? ))
Parameters
Type |
Name |
Description |
Widget |
child |
|
Key |
key |
|
System.Nullable<System.Single> |
left |
|
System.Nullable<System.Single> |
top |
|
System.Nullable<System.Single> |
right |
|
System.Nullable<System.Single> |
bottom |
|
System.Nullable<System.Single> |
width |
|
System.Nullable<System.Single> |
height |
|
Fields
Declaration
public readonly float? bottom
Field Value
Type |
Description |
System.Nullable<System.Single> |
|
Declaration
public readonly float? height
Field Value
Type |
Description |
System.Nullable<System.Single> |
|
Declaration
public readonly float? left
Field Value
Type |
Description |
System.Nullable<System.Single> |
|
Declaration
public readonly float? right
Field Value
Type |
Description |
System.Nullable<System.Single> |
|
Declaration
public readonly float? top
Field Value
Type |
Description |
System.Nullable<System.Single> |
|
Declaration
public readonly float? width
Field Value
Type |
Description |
System.Nullable<System.Single> |
|
Methods
Declaration
public override void applyParentData(RenderObject renderObject)
Parameters
Overrides
Declaration
public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
Parameters
Overrides
directional(Widget, TextDirection, Key, Nullable<Single>, Nullable<Single>, Nullable<Single>, Nullable<Single>, Nullable<Single>, Nullable<Single>)
Declaration
public static Positioned directional(Widget child, TextDirection textDirection, Key key = null, float? start = default(float? ), float? top = default(float? ), float? end = default(float? ), float? bottom = default(float? ), float? width = default(float? ), float? height = default(float? ))
Parameters
Type |
Name |
Description |
Widget |
child |
|
TextDirection |
textDirection |
|
Key |
key |
|
System.Nullable<System.Single> |
start |
|
System.Nullable<System.Single> |
top |
|
System.Nullable<System.Single> |
end |
|
System.Nullable<System.Single> |
bottom |
|
System.Nullable<System.Single> |
width |
|
System.Nullable<System.Single> |
height |
|
Returns
Declaration
public static Positioned fill(Widget child, Key key = null)
Parameters
Returns
Declaration
public static Positioned fromRect(Rect rect, Widget child, Key key = null)
Parameters
Returns
Declaration
public static Positioned fromRelativeRect(RelativeRect rect, Widget child, Key key = null)
Parameters
Returns