discontinuedPackage layrz_theme has been discontinued and replaced by layrz_ui.

ResponsiveCol class

Inheritance

Constructors

ResponsiveCol({Key? key, Sizes xs = .col12, Sizes? sm, Sizes? md, Sizes? lg, Sizes? xl, required Widget child})
ResponsiveCol is a component to wrap a child between an especific breakpoints. Read the documentation of each field for more information.
const

Properties

child → Widget
child The child to wrap.
final
hashCode → int
The hash code for this object.
no setterinherited
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
lg → Sizes?
lg Desktop size, width between kMediumGrid and kLargeGrid.
final
md → Sizes?
md Large tablet or low-res desktop size, width between kSmallGrid and kMediumGrid.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sm → Sizes?
sm Tablet size, width between kExtraSmallGrid and kSmallGrid.
final
xl → Sizes?
xl Extra high-res (Like 1080p or 4K) desktop size, width greater than kLargeGrid.
final
xs → Sizes
Component to wrap a child between an especific breakpoints. Read the documentation of each field for more information. xs Default and mobile size, using kExtraSmallGrid as the default size.
final

Methods

build(BuildContext context) → Widget
Describes the part of the user interface represented by this widget.
override
createElement() → StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
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
gridSizeAt(double rowWidth) → int
Returns the grid column count (1..12) for this column at the given parent row width. Used by ResponsiveRow to compute per-child pixel widths.
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, int wrapWidth = 65}) → 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

Operators

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