ColumnSize enum
Relative size of a column in a DataTable.
These sizes determine the share of total table width allocated to each individual column. When determining column widths, ratios between S, M, and L columns are maintained.
- S: Small column (approximately 0.67x the width of a medium column)
- M: Medium column (the default size)
- L: Large column (approximately 1.2x the width of a medium column)
See also:
doc/component/data_table.md
for more detailed documentation- DataTable.smRatio and DataTable.lmRatio which control the exact ratios
Values
- S → const ColumnSize
- M → const ColumnSize
- L → const ColumnSize
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
-
values
→ const List<
ColumnSize> - A constant List of the values in this enum, in order of their declaration.