Col class

To create a responsive grid layout it is necessary to specify how many columns are in the grid

The default column available is twelve and you can add more

Constructors

Col({required double width})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width double
width is variable to define how long is the column will be set in percentage
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

Constants

col_1 → const Col
col_1 default width of column with 8.333333 percent from current screen width
col_2 → const Col
col_2 default width of column with 16.666666 percent from current screen width
col_3 → const Col
col_3 default width of column with 25.0 percent from current screen width
col_4 → const Col
col_4 default width of column with 33.333333 percent from current screen width
col_5 → const Col
col_5 default width of column with 41.666666 percent from current screen width
col_6 → const Col
col_6 default width of column with 50.0 percent from current screen width
col_7 → const Col
col_7 default width of column with 58.333333 percent from current screen width
col_8 → const Col
col_8 default width of column with 66.666667 percent from current screen width
col_9 → const Col
col_9 default width of column with 75.0 percent from current screen width
col_10 → const Col
col_10 default width of column with 83.333333 percent from current screen width
col_11 → const Col
col_11 default width of column with 91.666666 percent from current screen width
col_12 → const Col
col_12 default width of column with 100 percent from current screen width
zero → const Col
zero is default width of column with 0 px