chain method

ActionCell chain(
  1. void action(), {
  2. dynamic key,
})

Create an action cell that is chained to this cell.

An action cell is created that when triggered, action is called first. action can either call trigger on this cell thus allowing the action triggering the action represented by this cell, or it can prevent the action from being triggering by not calling trigger.

See ActionCell.chain for more details.

Implementation

ActionCell chain(void Function() action, {
  dynamic key
}) => ActionCell.chain(
    this,
    action: action,
    key: key
);