(),

),

),

);

Code after migration (Providing localizations using the MaterialApp):

import

'package:flutter/material.dart'

void

main

()

runApp

Foo

());

class

Foo

extends

StatelessWidget

@override

Widget

build

BuildContext

context

return

MaterialApp

home:

Material

child:

TextField

(),

),

);

Code after migration (Providing localizations via the Localizations widget):

import