Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
class MyApp extends StatelessWidget {
const MyApp({Key key}) : super(key: key);
@override
Widget build(BuildContext context) => MaterialApp(
localizationsDelegates: [
ExampleLocalizations.delegate,
GlobalMaterialLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
],
supportedLocales: ExampleLocalizations.supportedLocales,
home: const MyHomePage(),
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment