ColumnViewState class
One column's arrangement.
Constructors
- ColumnViewState({required String field, double? width, bool visible = true, ColumnPin pin = ColumnPin.none})
-
const
Properties
- field → String
-
Which column this describes.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- pin → ColumnPin
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- visible → bool
-
final
- width → double?
-
The user's resized width, or null if they never dragged it.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> - Position in the column list is carried by the order of GridViewState.columns, not by an index here, so a view restored onto a grid whose columns have changed cannot leave two columns claiming the same slot.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, Object?> json) → ColumnViewState