From 24dcaf985cc9f6896190450215fa2c3bcda2ff09 Mon Sep 17 00:00:00 2001 From: Yakov D Date: Thu, 14 Nov 2019 11:49:14 +0300 Subject: [PATCH] Removed wrong type casting --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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