PlutoDualGridProps class

Constructors

PlutoDualGridProps({required List<PlutoColumn> columns, required List<PlutoRow> rows, List<PlutoColumnGroup>? columnGroups, PlutoOnLoadedEventCallback? onLoaded, PlutoOnChangedEventCallback? onChanged, PlutoOnSortedEventCallback? onSorted, PlutoOnRowCheckedEventCallback? onRowChecked, PlutoOnRowDoubleTapEventCallback? onRowDoubleTap, PlutoOnRowSecondaryTapEventCallback? onRowSecondaryTap, PlutoOnRowsMovedEventCallback? onRowsMoved, PlutoOnColumnsMovedEventCallback? onColumnsMoved, CreateHeaderCallBack? createHeader, CreateFooterCallBack? createFooter, Widget? noRowsWidget, PlutoRowColorCallback? rowColorCallback, PlutoColumnMenuDelegate? columnMenuDelegate, PlutoGridConfiguration configuration = const PlutoGridConfiguration(), PlutoGridMode? mode, Key? key})
const

Properties

columnGroups List<PlutoColumnGroup>?
columnGroups can be expressed in UI by grouping columns.
final
columnMenuDelegate PlutoColumnMenuDelegate?
Column menu can be customized.
final
columns List<PlutoColumn>
The PlutoColumn column is delivered as a list and can be added or deleted after grid creation.
final
configuration PlutoGridConfiguration
In configuration, you can change the style and settings or text used in PlutoGrid.
final
createFooter CreateFooterCallBack?
createFooter is equivalent to createHeader. However, it is located at the bottom of the grid.
final
createHeader CreateHeaderCallBack?
createHeader is a user-definable area located above the upper column area of PlutoGrid.
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
final
mode PlutoGridMode?
Execution mode of PlutoGrid.
final
noRowsWidget Widget?
Widget to be shown if there are no rows.
final
onChanged PlutoOnChangedEventCallback?
onChanged is called when the cell value changes.
final
onColumnsMoved PlutoOnColumnsMovedEventCallback?
Callback for receiving events when the column is moved by dragging the column or frozen it to the left or right.
final
onLoaded PlutoOnLoadedEventCallback?
PlutoGrid completes setting and passes PlutoGridStateManager to event.
final
onRowChecked PlutoOnRowCheckedEventCallback?
onRowChecked can receive the check status change of the checkbox when PlutoColumn.enableRowChecked is enabled.
final
onRowDoubleTap PlutoOnRowDoubleTapEventCallback?
onRowDoubleTap is called when a row is tapped twice in a row.
final
onRowSecondaryTap PlutoOnRowSecondaryTapEventCallback?
onRowSecondaryTap is called when a mouse right-click event occurs.
final
onRowsMoved PlutoOnRowsMovedEventCallback?
onRowsMoved is called after the row is dragged and moved if PlutoColumn.enableRowDrag is enabled.
final
onSorted PlutoOnSortedEventCallback?
onSorted is a callback that is called when column sorting is changed.
final
rowColorCallback PlutoRowColorCallback?
rowColorCallback can change the row background color dynamically according to the state.
final
rows List<PlutoRow>
rows contains a call to the PlutoGridStateManager.initializeRows method that handles necessary settings when creating a grid or when a new row is added.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({List<PlutoColumn>? columns, List<PlutoRow>? rows, PlutoOptional<List<PlutoColumnGroup>?>? columnGroups, PlutoOptional<PlutoOnLoadedEventCallback?>? onLoaded, PlutoOptional<PlutoOnChangedEventCallback?>? onChanged, PlutoOptional<PlutoOnSortedEventCallback?>? onSorted, PlutoOptional<PlutoOnRowCheckedEventCallback?>? onRowChecked, PlutoOptional<PlutoOnRowDoubleTapEventCallback?>? onRowDoubleTap, PlutoOptional<PlutoOnRowSecondaryTapEventCallback?>? onRowSecondaryTap, PlutoOptional<PlutoOnRowsMovedEventCallback?>? onRowsMoved, PlutoOptional<PlutoOnColumnsMovedEventCallback?>? onColumnsMoved, PlutoOptional<CreateHeaderCallBack?>? createHeader, PlutoOptional<CreateFooterCallBack?>? createFooter, PlutoOptional<Widget?>? noRowsWidget, PlutoOptional<PlutoRowColorCallback?>? rowColorCallback, PlutoOptional<PlutoColumnMenuDelegate?>? columnMenuDelegate, PlutoGridConfiguration? configuration, PlutoOptional<PlutoGridMode?>? mode, Key? key}) PlutoDualGridProps
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