RowSuper class
For more info, see: https://pub.dartlang.org/packages/assorted_layout_widgets
- Inheritance
Constructors
-
RowSuper({Key? key, required List<
Widget?> children, double outerDistance = 0.0, double innerDistance = 0.0, bool invert = false, Alignment alignment = Alignment.center, Widget? separator, bool separatorOnTop = true, bool fitHorizontally = false, double? shrinkLimit, MainAxisSize mainAxisSize = MainAxisSize.min, bool fill = false})
Properties
- alignment → Alignment
-
How to align the cells horizontally, if they are smaller than the available horizontal space.
final
-
children
→ List<
Widget> -
The widgets below this widget in the tree.
finalinherited
- fill → bool
-
If true will force the children to grow their widths proportionately to their minimum
intrinsic width, so that they fill the whole row width. This parameter is only useful
if the children are not wide enough to fill the whole row width. In case the children are
larger than the row width, they will always shrink proportionately to their minimum
intrinsic width, and the fill parameter will be ignored.
final
- fitHorizontally → bool
-
If true will shrink the children, horizontally only, until the shrinkLimit is reached.
This parameter is only useful if the children are too wide to fit the row width.
Avoid using fitHorizontally together with fill true.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- innerDistance → double
-
The distance in pixels between the cells.
It can be negative, in which case the cells will overlap.
final
- invert → bool
-
If true will paint the cells that come later on top of the ones that came before.
This is specially useful when cells overlap (negative innerDistance).
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- mainAxisSize → MainAxisSize
-
How much space should be occupied in the main axis. The default is MainAxisSize.min,
which means the row will occupy no more than its content's width. Make it MainAxisSize.max
to expand the row to occupy the whole horizontal space. Note: When fill is true,
mainAxisSize is ignored because it will expand anyway.
final
- outerDistance → double
-
The distance in pixels before the first and after the last widget.
It can be negative, in which case the cells will overflow the column
(without any overflow warnings).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- separator → Widget?
-
The separator is a widget which will be painted between each cells.
Its height doesn't matter, since the distance between cells is given by innerDistance
(in other words, separators don't occupy space).
The separator may overflow if its width is larger than the column's width.
final
- separatorOnTop → bool
-
If true (the default) will paint the separator on top of the cells.
If false will paint the separator below the cells.
final
- shrinkLimit → double?
-
The shrink limit by default is 67%, which means the cell contents will shrink until
67% of their original width, and then overflow. Make the shrink limit equal to 0.0 if you
want the cell contents to shrink with no limits. Note, if fitHorizontally is false,
the limit is not used.
final
Methods
-
createElement(
) → MultiChildRenderObjectElement -
RenderObjectWidgets always inflate to a RenderObjectElement subclass.
inherited
-
createRenderObject(
BuildContext context) → _RenderRowSuperBox -
Creates an instance of the RenderObject class that this
RenderObjectWidget represents, using the configuration described by this
RenderObjectWidget.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
didUnmountRenderObject(
covariant RenderObject renderObject) → void -
A render object previously associated with this widget has been removed
from the tree. The given RenderObject will be of the same type as
returned by this object's createRenderObject.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
-
updateRenderObject(
BuildContext context, covariant _RenderRowSuperBox renderObject) → void -
Copies the configuration described by this RenderObjectWidget to the
given RenderObject, which will be of the same type as returned by this
object's createRenderObject.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited