ColumnState class

A class representing the state of a column (width, visibility, and pin status).

Constructors

ColumnState({double? width, bool? visible, bool? pinLeft, bool? pinRight, bool userResized = false})
Creates a new instance of ColumnState
ColumnState.fromMap(Map<String, dynamic> map)
Creates a ColumnState from a JSON-compatible map
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
pinLeft bool?
Whether the column is pinned to the left
final
pinRight bool?
Whether the column is pinned to the right
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userResized bool
Whether the width was explicitly selected by the user.
final
visible bool?
Whether the column is visible
final
width double?
The width of the column
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Converts the ColumnState to a JSON-compatible map
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited