TableAction<T extends Object> constructor

TableAction<T extends Object>({
  1. required Widget content,
  2. required void onTap(
    1. T
    ),
  3. bool inline = false,
  4. String? label,
  5. IconData? icon,
  6. Color? color,
})

Implementation

TableAction({
  required this.content,
  required void Function(T) onTap,
  this.inline = false,
  this.label,
  this.icon,
  this.color,
}) : _onTapInternal = ((item) => onTap(item as T));