PlutoColumnType.time constructor

PlutoColumnType.time({
  1. dynamic defaultValue = '00:00',
  2. IconData? popupIcon = Icons.access_time,
})

A column for the time type.

Set the suffixIcon in the popupIcon cell. Tap this icon to open the time selection popup. The default icon is displayed, and if this value is set to null , the icon does not appear.

Implementation

factory PlutoColumnType.time({
  dynamic defaultValue = '00:00',
  IconData? popupIcon = Icons.access_time,
}) {
  return PlutoColumnTypeTime(
    defaultValue: defaultValue,
    popupIcon: popupIcon,
  );
}