DynamicTableAction constructor

const DynamicTableAction({
  1. required Widget icon,
  2. void onPressed()?,
  3. bool showAlways = false,
  4. bool showOnlyOnEditing = true,
})

This is the actions which you see on the last column of DynamicTable

Implementation

const DynamicTableAction(
    {required this.icon,
    this.onPressed,
    this.showAlways = false,
    this.showOnlyOnEditing = true})
    : assert(!(showAlways && showOnlyOnEditing),
          'showAlways and showOnlyOnEditing cannot be true at the same time');