SPColumnSpec class
Describes how many of the twelve grid columns a widget occupies, as well as its offset and visual order.
- Annotations
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- lg → int?
-
final
- md → int?
-
final
- offset → int
-
Base offset (empty columns before this column) active from the extra-small breakpoint.
final
- offsetLg → int?
-
final
- offsetMd → int?
-
final
- offsetSm → int?
-
final
- offsetXl → int?
-
final
- offsetXxl → int?
-
final
- order → int
-
Base order (visual sorting) active from the extra-small breakpoint.
final
- orderLg → int?
-
final
- orderMd → int?
-
final
- orderSm → int?
-
final
- orderXl → int?
-
final
- orderXxl → int?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sm → int?
-
final
- span → int
-
Base span active from the extra-small breakpoint.
final
- xl → int?
-
final
- xxl → int?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolveOffset(
double width, {SPBreakpoints breakpoints = SPBreakpoints.standard}) → int - Returns the active column offset for a parent width.
-
resolveOrder(
double width, {SPBreakpoints breakpoints = SPBreakpoints.standard}) → int - Returns the active visual order for a parent width.
-
resolveSpan(
double width, {SPBreakpoints breakpoints = SPBreakpoints.standard}) → int - Returns the active column span for a parent width.
-
toString(
) → String -
A string representation of this object.
inherited
-
widthFactor(
double width, {SPBreakpoints breakpoints = SPBreakpoints.standard}) → double - Returns the active span as a fraction between 0 and 1.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- columnCount → const int