actions:

LocalKey

ActionFactory

>{

MyAction

key

()

MyAction

(),

},

child:

Container

(),

);

Code after migration:

// You may need to create new Intent subclasses if you used

// a bare LocalKey before.

class

MyIntent

extends

Intent

const

MyIntent

();

class

MyAction

extends

Action

MyIntent

@override

Object

invoke

MyIntent

intent

// ...

class