ArcoCol class
Arco 栅格列。
对应官方 components/Grid/style/col.less:flex: 0 0 (100% / 24) * span。
每个断点(xs ~ xxxl)可传 int(等价 span)或 ArcoColConfig,
较大断点的配置会覆盖较小断点。
- Inheritance
Constructors
Properties
- child → Widget?
-
列内容。
final
- div → bool
-
为
true时不附带任何栅格样式。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 → Object?
-
screen >= 992px的配置,int或 ArcoColConfig。final - md → Object?
-
screen >= 768px的配置,int或 ArcoColConfig。final - offset → int?
-
左侧间隔格数。
final
- order → int?
-
排序。
final
- pull → int?
-
向左偏移格数。
final
- push → int?
-
向右偏移格数。
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sm → Object?
-
screen >= 576px的配置,int或 ArcoColConfig。final - span → int
-
占位格数(0-24),默认 24。
final
- xl → Object?
-
screen >= 1200px的配置,int或 ArcoColConfig。final - xs → Object?
-
screen < 576px的配置,int或 ArcoColConfig。final - xxl → Object?
-
screen >= 1600px的配置,int或 ArcoColConfig。final - xxxl → Object?
-
screen >= 2000px的配置,int或 ArcoColConfig。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
-
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