RowsParams class

Combines all the parameters concerning layout rows.

gutter is a constant gap between all of the rows. When count is given, only that particular number of rows is rendered. If count is null, numbers of rows is limited only due to screen's height. arrangement parameter describes the way how to arrange rows. For more details see RowsArrangement. offset parameter makes sure that the layout is rendered after given number of pixels. It is valid only when arrangement is set to RowsArrangement.bottom or RowsArrangement.top. margin parameter ensures that there are equal gaps from both top and bottom. It applies only when arrangement is set to RowsArrangement.stretch. height is a height of a single row. Does not apply when arrangement is set to RowsArrangement.stretch. To set rows color, pass it via Color color parameter (by default set to Color(0x1AFF0000)). safeAreaParams allows to avoid system obstacles. For more details see SafeAreaParams.

Constructors

RowsParams({double gutter = 8.0, int? count, RowsArrangement arrangement = RowsArrangement.stretch, double offset = 0.0, double margin = 0.0, double height = 8.0, Color color = _defaultColor, SafeAreaParams safeAreaParams = const SafeAreaParams()})
const

Properties

arrangement RowsArrangement
final
color Color
final
count int?
final
gutter double
final
hashCode int
The hash code for this object.
no setterinherited
height double
final
margin double
final
offset double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
safeAreaParams SafeAreaParams
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited