diff --git a/README.md b/README.md index 5938dd7..387d57a 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Setup your localizationsDelegates and your supportedLocales which allows the acc Widget build(BuildContext context) { return new MaterialApp( onGenerateTitle: (BuildContext context) => S.of(context).app_name, - localizationsDelegates: const <LocalizationsDelegate<WidgetsLocalizations>>[ + localizationsDelegates: [ S.delegate, // You need to add them if you are using the material library. // The material components usses this delegates to provide default