FocusNode

node

MyIntent

intent

// ...

state

intent

argument

Code after migration:

class

MyIntent

extends

Intent

const

MyIntent

({

this

argument

});

final

int

argument

class

MyAction

extends

Action

MyIntent

@override

int

invoke

Intent

intent

// ...

return

intent

argument

Timeline