MoonTableColumn class

Constructors

MoonTableColumn({bool showSortingIcon = true, double? sortingIconGap, double? width, MainAxisAlignment sortingIconAlignment = MainAxisAlignment.start, ColumnSortCallback? onSort, VoidCallback? onTap, Widget? cell, Widget? sortingIcon})
Creates a Moon Design table column.
const

Properties

cell Widget?
The widget to display as the content of the table column.
final
hashCode int
The hash code for this object.
no setterinherited
onSort ColumnSortCallback?
The callback that is called when the table column is sorted.
final
onTap VoidCallback?
The callback that is called when the table column is tapped.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showSortingIcon bool
Whether to show the sortingIcon in the table column.
final
sortingIcon Widget?
An icon to display when sorting is applied to the table column. If not set, the default icon is MoonIcons.chevron_up_16. Displayed only if the showSortingIcon is true and onSort is not null.
final
sortingIconAlignment MainAxisAlignment
The horizontal alignment of the cell and sortingIcon of the table column.
final
sortingIconGap double?
The gap between the cell content and sortingIcon of the table column.
final
width double?
The width of the table column. Either width for each column or MoonTable.width must be provided. Cannot be used in conjunction with the MoonTable.width property, one of them must be null.
final

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