This class represents a row of a LayoutGrid structure.
Implements
- I
Remarks
The results of the calculation of the geometry of the row will be placed into the instances of this class after the layout.
This class cannot be instantiated
Default Values of Properties
| Name | Default | Description |
|---|---|---|
| bottomPadding | 0.0 | |
| height | 0.0 | |
| indexFixed | true | The index of the row is fixed. |
| minimumHeight | 0.0 | |
| position | 0.0 | |
| tightness | 0.0 | The row will not be compressed. |
| topPadding | 0.0 |
See Also
Developer's Guide
API
- LayoutGrid
Members
No filters for this type
Properties
The padding value needs to be greater than or equal to
0.final
Property Value
the bottom padding
Throws
- Exception ({ name: 'ArgumentError' })
- if the given bottom padding is negative
Default Value
The default value is: 0.0
Sample Graphs
ShownSetting: All paddings
10See Also
Developer's Guide
The height needs to be greater than or equal to 0.
Note that the result is zero unless a layout or manual adjustment has been applied.
final
Property Value
the current height
Throws
- Exception ({ name: 'ArgumentError' })
- if the height is negative
Default Value
The default value is: 0.0
See Also
Developer's Guide
Gets the index of the row within the LayoutGrid.
Gets the index of the row within the LayoutGrid.
readonlyfinal
Property Value
the index of the row
For all rows where this property is enabled, the relative ordering given by the indices is preserved. The remaining rows may be sorted again so that the overall edge lengths are minimized.
final
Property Value
true if the row index is fixed, false if it may be chosen automaticallyDefault Value
The default value is: true
The index of the row is fixed.
The minimum height is defined to be at least
0.final
Property Value
the current row height
Throws
- Exception ({ name: 'ArgumentError' })
- if the minimum height is negative
Default Value
The default value is: 0.0
Sample Graphs
ShownSetting: Minimum height
0See Also
Developer's Guide
Note that the result is zero unless a layout or manual adjustment has been applied.
final
Property Value
the position (smallest y-coordinate)
Default Value
The default value is: 0.0
See Also
Developer's Guide
This value must lie within the interval [0,1].
The larger the value, the more the row will be forced to obtain its minimum height:
- a value of
0.0dwill disable the compression of the row. - a value of
1.0dwill try to force the row to obtain its specified minimumHeight.
final
Property Value
a tightness value from the interval
[0,1]Throws
- Exception ({ name: 'ArgumentError' })
- if the tightness value is outside the interval
[0,1]
Default Value
The default value is: 0.0
The row will not be compressed.
The padding value needs to be greater than or equal to
0.final
Property Value
the top padding
Throws
- Exception ({ name: 'ArgumentError' })
- if the given top padding is negative
Default Value
The default value is: 0.0
Sample Graphs
ShownSetting: All paddings
10See Also
Developer's Guide
Methods
Compares this LayoutGridRow instance with a given other LayoutGridRow instance based on the indices of the two instances.
Compares this LayoutGridRow instance with a given other LayoutGridRow instance based on the indices of the two instances.
final
Parameters
- o: any
- The LayoutGridRow to compare to.
Return Value
- number
-1,0, or1if this LayoutGridRow is less than, equal to, or greater than the given other LayoutGridRow.