},

child:

Container

(),

);

Custom actions

To migrate your custom actions, eliminate the LocalKeys
you’ve defined, and replace them with Intent subclasses,
as well as changing the type of the argument to the actions
argument of the Actions widget.

Code before migration:

class

MyAction

extends

Action

MyAction

()

super

key

);

/// The [LocalKey] that uniquely identifies this action to an [Intent].

static

const

LocalKey

key

ValueKey

Type

>(

RequestFocusAction

);

@override

void