MhItemsViewSelectionSettings class

Provides settings to control the selection behavior of the MhItemsView

Constructors

MhItemsViewSelectionSettings({MhItemsViewSelectionTypes selectionType = MhItemsViewSelectionTypes.fullRow, MhItemsViewSelectionModes selectionMode = MhItemsViewSelectionModes.none, bool showSelectColumn = false, bool showHoverBackground = false, int hoverBackgroundAlpha = 20})

Properties

hashCode int
The hash code for this object.
no setterinherited
hoverBackgroundAlpha int
the alpha value (transparency) of the hover effect. Material3.primary is used as a color the given alpha is applied to the primary color ans used for the overlay of the hover effect
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectionMode MhItemsViewSelectionModes
Default is MhItemsViewSelectionModes.none
getter/setter pair
selectionType MhItemsViewSelectionTypes
If you want to combine RowClick => Shows Details or somthing linke this with selection, you should use MhItemsViewSelectionTypes.selectionColumnOnly
getter/setter pair
showHoverBackground bool
If true the row is highlighted on hover - if a mouse is present
getter/setter pair
showSelectColumn bool
If true the grid adds a Selection Column Definition before all custom columns which is displaying a Checkbox on every Row and a CheckBox in the Header to select oder deselect all rows
getter/setter pair

Methods

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