(),

);

Code after migration:

class

MyWidget

extends

StatelessWidget

// ...

@override

Widget

build

BuildContext

context

return

Shortcuts

shortcuts:

LogicalKeySet

Intent

LogicalKeySet

LogicalKeyboardKey

enter

ActivateIntent

},

child:

Actions

actions:

Type

Action

Intent

>>{

ActivateIntent:

ActivateAction

(),

},

child:

Container