// ...

@override

Widget

build

BuildContext

context

return

Shortcuts

shortcuts:

LogicalKeySet

Intent

LogicalKeySet

LogicalKeyboardKey

enter

Intent

ActivateAction

key

),

},

child:

Actions

actions:

LocalKey

ActionFactory

>{

Activate

key

()

ActivateAction

(),

},

child:

Container

(),

);

Code after migration: