PlutoColumnType.select constructor
PlutoColumnType.select(})
Provides a selection list and sets it as a selection column.
If enableColumnFilter
is true, column filtering is enabled in the selection popup.
Set the suffixIcon in the popupIcon
cell. Tapping this icon will open a selection popup.
The default icon is displayed, and if this value is set to null , the icon does not appear.
Implementation
factory PlutoColumnType.select(
List<dynamic> items, {
dynamic defaultValue = '',
bool enableColumnFilter = false,
IconData? popupIcon = Icons.arrow_drop_down,
}) {
return PlutoColumnTypeSelect(
defaultValue: defaultValue,
items: items,
enableColumnFilter: enableColumnFilter,
popupIcon: popupIcon,
);
}