controller library

Classes

AxisBoundedSelection
Describes a SelectionWithEdges in which is completely bounded in one Axis and partially or no bounded in the other axis (called here cross-axis).
BoundedSelection
Describes a SelectionWithEdges in which is completely bounded in all sides. All side values are guaranteed to be non-null.
CellOperation<CellDataType extends SwayzeCellData>
A definition of a mutative operation on the state of cells to be performed on matrix
CellsModifier<CellDataType extends SwayzeCellData>
A interface to map changes in the cell state ina specific state update.
CellUserSelectionModel
A UserSelectionModel that represents a Range2D of cells.
ControllerBase
A base class for all controllers and sub controllers on swayze.
DataController
A controller that manages state related to data, usually provided externally to SwayzeController.
DeleteCellOperation<CellDataType extends SwayzeCellData>
A description of a CellOperation that removes a cell located on position.
HeaderUserSelectionModel
A UserSelectionModel that covers entire columns or rows.
PutCellOperation<CellDataType extends SwayzeCellData>
A description of a CellOperation that updates or inserts cellData into the cell matrix.
Selection
The most simple description of a portion of the grid that is supposed to be selected or to receive a special decoration (defined by style).
SelectionBorderSide
Describes how each side of a Selection border should be rendered.
SelectionStyle
A decoration used in the widget tree to render a visual representation of a Selection.
SelectionWithEdges<EdgeType>
Describes a Selection that is bounded at least in one dimension. As a consequence it should have an anchor and a focus that should influence the computation of anchorCoordinate and focusCoordinate
SubController<ParentType extends SwayzeController>
A controller to be created by SwayzeController and have access to it via parent.
SwayzeCellData
A immutable data structure that holds data of a particular cell. It only holds the relevant data to cell rendering on swayze.
SwayzeCellsController<CellDataType extends SwayzeCellData>
A ChangeNotifier that is in charge of managing the state of all cells in a table and to communicate state changes to its listeners.
SwayzeController
The main controller on swayze.
SwayzeHeaderController
A ValueListenable that keeps the state of columns or rows in a table.
SwayzeHeaderData
SwayzeHeaderState
The value of SwayzeHeaderController.
SwayzeScrollController<ParentType extends SwayzeController>
A SubController that manages scroll of a single table.
SwayzeSelectionController
A ControllerBase that keeps track of the active selections in the table.
SwayzeTableDataController<ParentType extends SwayzeController>
A ControllerBase that manages some data on table.
TableUserSelectionModel
A completely unbounded UserSelectionModel. It selects the entire table.
UserSelectionModel
Defines a Selection that is controllable by a UserSelectionState.
UserSelectionState
A immutable description of the disposition of UserSelectionModels in a given moment.

Enums

Corner
The four corners in a rectangular shape.
RangeEdge
The edge of a one dimensional shape.

Extensions

CornerMethods on Corner
Add methods to each Corner option.
RangeEdgeMethods on RangeEdge
Add methods to each RangeEdge option.
SelectionMethods on Selection
Non overridable Selection methods.

Constants

kDefaultDashIntervals → const List<double>

Typedefs

SwayzeCellsControllerCellParser<CellDataType extends SwayzeCellData> = CellDataType Function(dynamic rawCell)
A signature of callbacks responsible to convert a cell from a raw type to CellDataType