TableColumn class
Description of a fixed-width column to be built by a TableView widget.
- Annotations
Constructors
Properties
- flex → int
-
When set higher than zero, column will expand to fill the remaining
width in proportion to the total flex of all columns.
final
- freezePriority → int
-
Priority of a column to be frozen on a screen instead of scrolling off.
The larger the priority the more likely this column is to remain frozen
in case of lacking space to freeze all the required columns. If zero,
the column will never be frozen.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
A key to identify the column. By default the column is identified by its
index.
no setter
- maxResizeWidth → double?
-
Maximum width the column is allowed to resize to.
final
- minResizeWidth → double?
-
Minimum width the column is allowed to resize to.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sticky → bool
-
When set to true, frozen column will be scrolled of the edge of the screen
but will come back upon scrolling in the other direction.
final
- translation → double
-
Horizontal (x) translation of the column. Does not affect the layout
of other columns. Primarily used for animations.
final
- width → double
-
Width of a column in a logical pixels.
final
Methods
-
copyWith(
{double? width, int? freezePriority, bool? sticky, int? flex, double? translation, double? maxResizeWidth, double? minResizeWidth}) → TableColumn -
frozenAt(
int priority) → bool - Check whether or not the column is frozen at a given priority.
-
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