Example analyzer failures

Here are some example analyzer failures that might be encountered where an
outdated use of the Actions API might be the cause of the problem. The specifics
of the error might differ, and there may be other failures caused by these
changes.

Migration guide

Significant changes area required to update existing code
to the new API.

Actions mapping for pre-defined actions

To update the action maps in the Actions widget for
predefined actions in Flutter, like ActivateAction
and SelectAction, do the following:

Update the argument type of the actions argument

Use an instance of a specific Intent class in the
Shortcuts mapping, rather than an Intent(TheAction.key)
instance.

Code before migration:

class

MyWidget

extends

StatelessWidget

// ...

@override

Widget