Issue 1:
Steps to Reproduce

I have to create multilingual app but Marathi is not supported by flutter or not yet cooked by MaterialLocalizations.

Help me for getting it work for Marathi language.

or Provide Some Tutorial to generate language from arb files

Logs

+179 ms] I/flutter (14098): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
[ +42 ms] I/flutter (14098): The following assertion was thrown building MyAppBar(dirty, state: _AppBarState#858f2):
[ ] I/flutter (14098): No MaterialLocalizations found.
[ ] I/flutter (14098): MyAppBar widgets require MaterialLocalizations to be provided by a Localizations widget ancestor.
[ ] I/flutter (14098): Localizations are used to generate many different messages, labels,and abbreviations which are used
[ ] I/flutter (14098): by the material library.
[ ] I/flutter (14098): To introduce a MaterialLocalizations, either use a MaterialApp at the root of your application to
[ ] I/flutter (14098): include them automatically, or add a Localization widget with a MaterialLocalizations delegate.
[ ] I/flutter (14098): The specific widget that could not find a MaterialLocalizations ancestor was:
[ ] I/flutter (14098): MyAppBar
[ ] I/flutter (14098): The ancestors of this widget were:
[ ] I/flutter (14098): _FlexibleSpaceBarSettings
[ ] I/flutter (14098): ConstrainedBox(BoxConstraints(0.0<=w<=Infinity, 0.0<=h<=79.9))
[ ] I/flutter (14098): MediaQuery(MediaQueryData(size: Size(423.5, 800.0), devicePixelRatio: 2.5, textScaleFactor: 1.0,
[ ] I/flutter (14098): padding: EdgeInsets(0.0, 23.9, 0.0, 0.0), viewInsets: EdgeInsets.zero, alwaysUse24HourFormat:
[ ] I/flutter (14098): false, accessibleNavigation: falsedisableAnimations: falseinvertColors: falseboldText: false))
[ ] I/flutter (14098): LayoutId-[<_ScaffoldSlot.appBar>](id: _ScaffoldSlot.appBar)
[ ] I/flutter (14098): CustomMultiChildLayout
[ ] I/flutter (14098): AnimatedBuilder(animation: AnimationController#7f51c(⏭ 1.000; paused))
[ ] I/flutter (14098): DefaultTextStyle(debugLabel: (englishLike body1).merge(blackMountainView body1), inherit: false,
[ ] I/flutter (14098): color: Color(0xdd000000), family: Roboto, size: 14.0, weight: 400, baseline: alphabetic,
[ ] I/flutter (14098): decoration: TextDecoration.none, softWrap: wrapping at box width, overflow: clip)
[ ] I/flutter (14098): AnimatedDefaultTextStyle(duration: 200ms, debugLabel: (englishLike body1).merge(blackMountainView
[ ] I/flutter (14098): body1), inherit: false, color: Color(0xdd000000), family: Roboto, size: 14.0, weight: 400,
[ ] I/flutter (14098): baseline: alphabetic, decoration: TextDecoration.none, softWrap: wrapping at box width, overflow:
[ ] I/flutter (14098): clip)
[ ] I/flutter (14098): _InkFeatures-[GlobalKey#2aaa0 ink renderer]
[ ] I/flutter (14098): NotificationListener<LayoutChangedNotification>
[ ] I/flutter (14098): PhysicalModel(shape: rectangle, borderRadius: BorderRadius.zero, elevation: 0.0, color:
[ ] I/flutter (14098): Color(0xfffafafa), shadowColor: Color(0xff000000))
[ ] I/flutter (14098): AnimatedPhysicalModel(duration: 200ms, shape: rectangle, borderRadius: BorderRadius.zero,
[ ] I/flutter (14098): elevation: 0.0, color: Color(0xfffafafa), animateColor: false, shadowColor: Color(0xff000000),
[ ] I/flutter (14098): animateShadowColor: true)
[ ] I/flutter (14098): Material(type: canvas, color: Color(0xfffafafa))
[ ] I/flutter (14098): PrimaryScrollController(ScrollController#b0626(one client, offset 0.0))
[ ] I/flutter (14098): _ScaffoldScope
[ ] I/flutter (14098): Scaffold-[LabeledGlobalKey<ScaffoldState>#ba591]
[ ] I/flutter (14098): HomeScreen
[ ] I/flutter (14098): Builder
[ ] I/flutter (14098): RepaintBoundary-[GlobalKey#d90cd]
[ ] I/flutter (14098): IgnorePointer(ignoring: false)
[ ] I/flutter (14098): FadeTransition(opacity: AnimationController#5a0f3(▶ 0.000; for
[ ] I/flutter (14098): PageRouteBuilder<dynamic>)➩ProxyAnimation)
[ ] I/flutter (14098): AnimatedBuilder(animation: Listenable.merge([AnimationController#5a0f3(▶ 0.000; for
[ ] I/flutter (14098): PageRouteBuilder<dynamic>)➩ProxyAnimation,
[ ] I/flutter (14098): kAlwaysDismissedAnimation➩ProxyAnimation➩ProxyAnimation]))
[ ] I/flutter (14098): RepaintBoundary
[ +1 ms] I/flutter (14098): _FocusScopeMarker
[ ] I/flutter (14098): Semantics(container: false, properties: SemanticsProperties, label: null, value: null, hint: null,
[ ] I/flutter (14098): hintOverrides: null)
[ ] I/flutter (14098): FocusScope
[ ] I/flutter (14098): PageStorage
[ ] I/flutter (14098): Offstage(offstage: false)
[ ] I/flutter (14098): _ModalScopeStatus(active)
[ ] I/flutter (14098): _ModalScope<dynamic>-[LabeledGlobalKey<_ModalScopeState<dynamic>>#1e8e4]
[ ] I/flutter (14098): _OverlayEntry-[LabeledGlobalKey<_OverlayEntryState>#8527a]
[ ] I/flutter (14098): Stack(alignment: AlignmentDirectional.topStart, fit: expand, overflow: clip)
[ ] I/flutter (14098): _Theatre
[ ] I/flutter (14098): Overlay-[LabeledGlobalKey<OverlayState>#b7ad6]
[ ] I/flutter (14098): _FocusScopeMarker
[ ] I/flutter (14098): Semantics(container: false, properties: SemanticsProperties, label: null, value: null, hint: null,
[ ] I/flutter (14098): hintOverrides: null)
[ ] I/flutter (14098): FocusScope
[ ] I/flutter (14098): AbsorbPointer(absorbing: false)
[ ] I/flutter (14098): Listener(listeners: [down, up, cancel], behavior: deferToChild)
[ ] I/flutter (14098): Navigator-[GlobalObjectKey<NavigatorState> _WidgetsAppState#752c4]
[ ] I/flutter (14098): DefaultTextStyle(debugLabel: fallback style; consider putting your text in a Material, inherit:
[ ] I/flutter (14098): true, color: Color(0xd0ff0000), family: monospace, size: 48.0, weight: 900, decoration: double
[ ] I/flutter (14098): Color(0xffffff00) TextDecoration.underline, softWrap: wrapping at box width, overflow: clip)
[ ] I/flutter (14098): Title(title: "Adil Store", color: Color(0xff0288d1))
[ ] I/flutter (14098): Directionality(textDirection: ltr)
[ ] I/flutter (14098): _LocalizationsScope-[GlobalKey#e1a98]
[ ] I/flutter (14098): Semantics(container: false, properties: SemanticsProperties, label: null, value: null, hint: null,
[ ] I/flutter (14098): textDirection: ltr, hintOverrides: null)
[ ] I/flutter (14098): Localizations(locale: mr_IN, delegates: [TranslationsDelegate[Translations],
[ ] I/flutter (14098): _MaterialLocalizationsDelegate[MaterialLocalizations],
[ ] I/flutter (14098): _WidgetsLocalizationsDelegate[WidgetsLocalizations],
[ ] I/flutter (14098): _MaterialLocalizationsDelegate[MaterialLocalizations],
[ ] I/flutter (14098): _WidgetsLocalizationsDelegate[WidgetsLocalizations]])
[ ] I/flutter (14098): MediaQuery(MediaQueryData(size: Size(423.5, 800.0), devicePixelRatio: 2.5, textScaleFactor: 1.0,
[ ] I/flutter (14098): padding: EdgeInsets(0.0, 23.9, 0.0, 0.0), viewInsets: EdgeInsets.zero, alwaysUse24HourFormat:
[ ] I/flutter (14098): false, accessibleNavigation: falsedisableAnimations: falseinvertColors: falseboldText: false))
[ ] I/flutter (14098): WidgetsApp-[GlobalObjectKey _MaterialAppState#5934e]
[ ] I/flutter (14098): IconTheme(IconThemeData#2abdc(color: Color(0xdd000000)))
[ ] I/flutter (14098): _InheritedTheme
[ ] I/flutter (14098): Theme(ThemeData#ce7a6(primaryColor: Color(0xff0288d1), accentColor: MaterialColor(primary value:
[ ] I/flutter (14098): Color(0xfff44336)), indicatorColor: MaterialColor(primary value: Color(0xfff44336)),
[ ] I/flutter (14098): toggleableActiveColor: MaterialColor(primary value: Color(0xfff44336)), buttonTheme:
[ ] I/flutter (14098): ButtonThemeData#b7822, textTheme: TextTheme#9edf9, primaryTextTheme: TextTheme#60427(display4:
[ ] I/flutter (14098): TextStyle(debugLabel: whiteMountainView display4, inherit: true, color: Color(0xb3ffffff), family:
[ ] I/flutter (14098): Roboto, decoration: TextDecoration.none), display3: TextStyle(debugLabel: whiteMountainView
[ ] I/flutter (14098): display3, inherit: true, color: Color(0xb3ffffff), family: Roboto, decoration:
[ ] I/flutter (14098): TextDecoration.none), display2: TextStyle(debugLabel: whiteMountainView display2, inherit: true,
[ ] I/flutter (14098): color: Color(0xb3ffffff), family: Roboto, decoration: TextDecoration.none), display1:
[ ] I/flutter (14098): TextStyle(debugLabel: whiteMountainView display1, inherit: true, color: Color(0xb3ffffff), family:
[ ] I/flutter (14098): Roboto, decoration: TextDecoration.none), headline: TextStyle(debugLabel: whiteMountainView
[ ] I/flutter (14098): headline, inherit: true, color: Color(0xffffffff), family: Roboto, decoration:
[ ] I/flutter (14098): TextDecoration.none), title: TextStyle(debugLabel: whiteMountainView title, inherit: true, color:
[ ] I/flutter (14098): Color(0xffffffff), family: Roboto, decoration: TextDecoration.none), subhead:
[ ] I/flutter (14098): TextStyle(debugLabel: whiteMountainView subhead, inherit: true, color: Color(0xffffffff), family:
[ ] I/flutter (14098): Roboto, decoration: TextDecoration.none), body2: TextStyle(debugLabel: whiteMountainView body2,
[ ] I/flutter (14098): inherit: true, color: Color(0xffffffff), family: Roboto, decoration: TextDecoration.none), body1:
[ ] I/flutter (14098): TextStyle(debugLabel: whiteMountainView body1, inherit: true, color: Color(0xffffffff), family:
[ ] I/flutter (14098): Roboto, decoration: TextDecoration.none), caption: TextStyle(debugLabel: whiteMountainView
[ ] I/flutter (14098): caption, inherit: true, color: Color(0xb3ffffff), family: Roboto, decoration:
[ ] I/flutter (14098): TextDecoration.none), button: TextStyle(debugLabel: whiteMountainView button, inherit: true,
[ ] I/flutter (14098): color: Color(0xffffffff), family: Roboto, decoration: TextDecoration.none)), accentTextTheme:
[ ] I/flutter (14098): TextTheme#60427(display4: TextStyle(debugLabel: whiteMountainView display4, inherit: true, color:
[ ] I/flutter (14098): Color(0xb3ffffff), family: Roboto, decoration: TextDecoration.none), display3:
[ ] I/flutter (14098): TextStyle(debugLabel: whiteMountainView display3, inherit: true, color: Color(0xb3ffffff), family:
[ ] I/flutter (14098): Roboto, decoration: TextDecoration.none), display2: TextStyle(debugLabel: whiteMountainView
[ ] I/flutter (14098): display2, inherit: true, color: Color(0xb3ffffff), family: Roboto, decoration:
[ ] I/flutter (14098): TextDecoration.none), display1: TextStyle(debugLabel: whiteMountainView display1, inherit: true,
[ ] I/flutter (14098): color: Color(0xb3ffffff), family: Roboto, decoration: TextDecoration.none), headline:
[ ] I/flutter (14098): TextStyle(debugLabel: whiteMountainView headline, inherit: true, color: Color(0xffffffff), family:
[ ] I/flutter (14098): Roboto, decoration: TextDecoration.none), title: TextStyle(debugLabel: whiteMountainView title,
[ ] I/flutter (14098): inherit: true, color: Color(0xffffffff), family: Roboto, decoration: TextDecoration.none),
[ ] I/flutter (14098): subhead: TextStyle(debugLabel: whiteMountainView subhead, inherit: true, color: Color(0xffffffff),
[ ] I/flutter (14098): family: Roboto, decoration: TextDecoration.none), body2: TextStyle(debugLabel: whiteMountainView
[ ] I/flutter (14098): body2, inherit: true, color: Color(0xffffffff), family: Roboto, decoration: TextDecoration.none),
[ ] I/flutter (14098): body1: TextStyle(debugLabel: whiteMountainView body1, inherit: true, color: Color(0xffffffff),
[ +2 ms] I/flutter (14098): family: Roboto, decoration: TextDecoration.none), caption: TextStyle(debugLabel: whiteMountainView
[ +1 ms] I/flutter (14098): caption, inherit: true, color: Color(0xb3ffffff), family: Roboto, decoration:
[ ] I/flutter (14098): TextDecoration.none), button: TextStyle(debugLabel: whiteMountainView button, inherit: true,
[ ] I/flutter (14098): color: Color(0xffffffff), family: Roboto, decoration: TextDecoration.none)), inputDecorationTheme:
[ ] I/flutter (14098): InputDecorationTheme#5a215, iconTheme: IconThemeData#2abdc(color: Color(0xdd000000)),
[ ] I/flutter (14098): primaryIconTheme: IconThemeData#15fa8(color: Color(0xffffffff)), accentIconTheme:
[ ] I/flutter (14098): IconThemeData#15fa8(color: Color(0xffffffff)), sliderTheme:
[ ] I/flutter (14098): SliderThemeData#08b92(activeTrackColor: Color(0xff0288d1), inactiveTrackColor: Color(0x3d0288d1),
[ ] I/flutter (14098): inactiveTickMarkColor: Color(0x8a0288d1), thumbColor: Color(0xff0288d1), overlayColor:
[ ] I/flutter (14098): Color(0x290288d1), valueIndicatorColor: Color(0xff0288d1)), tabBarTheme: TabBarTheme#12410,
[ ] I/flutter (14098): chipTheme: ChipThemeData#ff3fc(secondarySelectedColor: Color(0x3d0288d1), secondaryLabelStyle:
[ ] I/flutter (14098): TextStyle(debugLabel: (blackMountainView body2).copyWith, inherit: true, color: Color(0xde0288d1),
[ ] I/flutter (14098): family: Roboto, decoration: TextDecoration.none)), materialTapTargetSize:
[ ] I/flutter (14098): MaterialTapTargetSize.padded, pageTransitionsTheme: PageTransitionsTheme#38f14))
[ ] I/flutter (14098): AnimatedTheme(duration: 200ms)
[ ] I/flutter (14098): ScrollConfiguration(behavior: _MaterialScrollBehavior)
[ ] I/flutter (14098): MaterialApp
[ ] I/flutter (14098): AuthProvider
[ ] I/flutter (14098): MyApp
[ ] I/flutter (14098): [root]
[ ] I/flutter (14098):
[ ] I/flutter (14098): When the exception was thrown, this was the stack:
[ ] I/flutter (14098): #0 debugCheckHasMaterialLocalizations.<anonymous closure> (package:flutter/src/material/debug.dart:124:7)
[ ] I/flutter (14098): #1 debugCheckHasMaterialLocalizations (package:flutter/src/material/debug.dart:127:4)
[ ] I/flutter (14098): #2 _AppBarState.build (package:flutter/src/material/app_bar.dart:336:12)
[ ] I/flutter (14098): #3 StatefulElement.build (package:flutter/src/widgets/framework.dart:3766:27)
[ ] I/flutter (14098): #4 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3678:15)
[ ] I/flutter (14098): #5 Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
[ ] I/flutter (14098): #6 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3658:5)
[ ] I/flutter (14098): #7 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3805:11)
[ ] I/flutter (14098): #8 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3653:5)
[ ] I/flutter (14098): #9 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #10 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #11 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
[ ] I/flutter (14098): #12 Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
[ +2 ms] I/flutter (14098): #13 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3658:5)
[ ] I/flutter (14098): #14 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3653:5)
[ ] I/flutter (14098): #15 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #16 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #17 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4796:14)
[ ] I/flutter (14098): #18 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #19 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #20 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
[ +1 ms] I/flutter (14098): #21 Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
[ ] I/flutter (14098): #22 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3658:5)
[ ] I/flutter (14098): #23 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3653:5)
[ ] I/flutter (14098): #24 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #25 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #26 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
[ ] I/flutter (14098): #27 Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
[ ] I/flutter (14098): #28 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3658:5)
[ ] I/flutter (14098): #29 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3653:5)
[ ] I/flutter (14098): #30 ParentDataElement.mount (package:flutter/src/widgets/framework.dart:3993:11)
[ +307 ms] DevFS: Sync finished
[ ] Syncing files to device Redmi Note 5 Pro... (completed)
[ +1 ms] Synced 2.4MB.
[ +2 ms] _flutter.listViews: {isolateId: isolates/596812039}
[ +15 ms] Connected to _flutterView/0x7e88b78d98.
[ +2 ms] 🔥 To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R".
[ ] An Observatory debugger and profiler on Redmi Note 5 Pro is available at: http://127.0.0.1:50524/
[ ] For a more detailed help message, press "h". To detach, press "d"; to quit, press "q".
[ +42 ms] W/Firestore(14098): (0.6.6-dev) [Firestore]: The behavior for java.util.Date objects stored in Firestore is going to change AND YOUR APP MAY BREAK.
[ ] W/Firestore(14098): To hide this warning and ensure your app does not break, you need to add the following code to your app before calling any other Cloud Firestore method
s:
[ ] W/Firestore(14098):
[ ] W/Firestore(14098): FirebaseFirestore firestore = FirebaseFirestore.getInstance();
[ ] W/Firestore(14098): FirebaseFirestoreSettings settings = new FirebaseFirestoreSettings.Builder()
[ ] W/Firestore(14098): .setTimestampsInSnapshotsEnabled(true)
[ ] W/Firestore(14098): .build();
[ ] W/Firestore(14098): firestore.setFirestoreSettings(settings);
[ ] W/Firestore(14098):
[ ] W/Firestore(14098): With this change, timestamps stored in Cloud Firestore will be read back as com.google.firebase.Timestamp objects instead of as system java.util.Date o
bjects. So you will also need to update code expecting a java.util.Date to instead expect a Timestamp. For example:
[ ] W/Firestore(14098):
[ ] W/Firestore(14098): // Old:
[ ] W/Firestore(14098): java.util.Date date = snapshot.getDate("created_at");
[ ] W/Firestore(14098): // New:
[ ] W/Firestore(14098): Timestamp timestamp = snapshot.getTimestamp("created_at");
[ ] W/Firestore(14098): java.util.Date date = timestamp.toDate();
[ ] W/Firestore(14098):
[ ] W/Firestore(14098): Please audit all existing usages of java.util.Date when you enable the new behavior. In a future release, the behavior will be changed to the new behav
ior, so if you do not follow these steps, YOUR APP MAY BREAK.
[ ] W/zygote64(14098): Unsupported class loader
[ +1 ms] W/zygote64(14098): Skipping duplicate class check due to unsupported classloader
[ +3 ms] I/DynamiteModule(14098): Considering local module com.google.android.gms.flags:3 and remote module com.google.android.gms.flags:3
[ +1 ms] I/DynamiteModule(14098): Selected local version of com.google.android.gms.flags
[ +5 ms] I/zygote64(14098): The ClassLoaderContext is a special shared library.
[ +17 ms] I/zygote64(14098): The ClassLoaderContext is a special shared library.
[ ] V/NativeCrypto(14098): Registering com/google/android/gms/org/conscrypt/NativeCrypto's 287 native methods...
[ +67 ms] I/ProviderInstaller(14098): Installed default security provider GmsCore_OpenSSL
[ +620 ms] I/flutter (14098): hehe2 null
[ +3 ms] I/flutter (14098): #31 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ +2 ms] I/flutter (14098): #32 MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4901:32)
[ ] I/flutter (14098): #33 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #34 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #35 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
[ +17 ms] I/flutter (14098): #36 Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
[ +3 ms] I/flutter (14098): #37 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3658:5)
[ ] I/flutter (14098): #38 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3805:11)
[ ] I/flutter (14098): #39 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3653:5)
[ ] I/flutter (14098): #40 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #41 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #42 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
[ ] I/flutter (14098): #43 Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
[ ] I/flutter (14098): #44 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3658:5)
[ ] I/flutter (14098): #45 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3653:5)
[ ] I/flutter (14098): #46 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #47 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #48 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
[ ] I/flutter (14098): #49 Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
[ ] I/flutter (14098): #50 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3658:5)
[ ] I/flutter (14098): #51 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3805:11)
[ ] I/flutter (14098): #52 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3653:5)
[ ] I/flutter (14098): #53 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #54 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #55 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4796:14)
[ ] I/flutter (14098): #56 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #57 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #58 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
[ ] I/flutter (14098): #59 Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
[ ] I/flutter (14098): #60 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3658:5)
[ ] I/flutter (14098): #61 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3653:5)
[ ] I/flutter (14098): #62 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #63 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #64 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4796:14)
[ ] I/flutter (14098): #65 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #66 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #67 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
[ ] I/flutter (14098): #68 Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
[ ] I/flutter (14098): #69 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3658:5)
[ ] I/flutter (14098): #70 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3805:11)
[ ] I/flutter (14098): #71 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3653:5)
[ ] I/flutter (14098): #72 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #73 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #74 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
[ ] I/flutter (14098): #75 Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
[ ] I/flutter (14098): #76 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3658:5)
[ ] I/flutter (14098): #77 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3805:11)
[ ] I/flutter (14098): #78 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3653:5)
[ ] I/flutter (14098): #79 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #80 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #81 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
[ ] I/flutter (14098): #82 Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
[ ] I/flutter (14098): #83 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3658:5)
[ ] I/flutter (14098): #84 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3653:5)
[ ] I/flutter (14098): #85 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #86 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #87 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
[ ] I/flutter (14098): #88 Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
[ ] I/flutter (14098): #89 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3658:5)
[ ] I/flutter (14098): #90 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3653:5)
[ ] I/flutter (14098): #91 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #92 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #93 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
[ ] I/flutter (14098): #94 Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
[ ] I/flutter (14098): #95 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3658:5)
[ ] I/flutter (14098): #96 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3805:11)
[ ] I/flutter (14098): #97 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3653:5)
[ ] I/flutter (14098): #98 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #99 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #100 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
[ ] I/flutter (14098): #101 Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
[ ] I/flutter (14098): #102 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3658:5)
[ ] I/flutter (14098): #103 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3805:11)
[ ] I/flutter (14098): #104 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3653:5)
[ ] I/flutter (14098): #105 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #106 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #107 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
[ ] I/flutter (14098): #108 Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
[ ] I/flutter (14098): #109 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3658:5)
[ ] I/flutter (14098): #110 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3653:5)
[ ] I/flutter (14098): #111 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #112 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #113 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4796:14)
[ ] I/flutter (14098): #114 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #115 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #116 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4796:14)
[ ] I/flutter (14098): #117 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #118 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #119 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4796:14)
[ ] I/flutter (14098): #120 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #121 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #122 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
[ ] I/flutter (14098): #123 Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
[ ] I/flutter (14098): #124 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3658:5)
[ ] I/flutter (14098): #125 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3805:11)
[ ] I/flutter (14098): #126 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3653:5)
[ ] I/flutter (14098): #127 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #128 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #129 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4796:14)
[ ] I/flutter (14098): #130 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #131 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #132 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
[ ] I/flutter (14098): #133 Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
[ ] I/flutter (14098): #134 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3658:5)
[ ] I/flutter (14098): #135 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3653:5)
[ ] I/flutter (14098): #136 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #137 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #138 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4796:14)
[ ] I/flutter (14098): #139 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #140 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #141 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
[ ] I/flutter (14098): #142 Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
[ ] I/flutter (14098): #143 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3658:5)
[ ] I/flutter (14098): #144 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3805:11)
[ ] I/flutter (14098): #145 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3653:5)
[ ] I/flutter (14098): #146 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #147 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #148 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
[ ] I/flutter (14098): #149 Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
[ ] I/flutter (14098): #150 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3658:5)
[ ] I/flutter (14098): #151 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3653:5)
[ ] I/flutter (14098): #152 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #153 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #154 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4796:14)
[ ] I/flutter (14098): #155 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #156 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #157 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
[ ] I/flutter (14098): #158 Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
[ ] I/flutter (14098): #159 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3658:5)
[ ] I/flutter (14098): #160 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3653:5)
[ ] I/flutter (14098): #161 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #162 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #163 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
[ ] I/flutter (14098): #164 Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
[ ] I/flutter (14098): #165 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3658:5)
[ ] I/flutter (14098): #166 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3805:11)
[ ] I/flutter (14098): #167 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3653:5)
[ ] I/flutter (14098): #168 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #169 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #170 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
[ ] I/flutter (14098): #171 Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
[ ] I/flutter (14098): #172 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3658:5)
[ ] I/flutter (14098): #173 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3805:11)
[ ] I/flutter (14098): #174 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3653:5)
[ ] I/flutter (14098): #175 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
[ ] I/flutter (14098): #176 Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
[ ] I/flutter (14098): #177 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4579:32)
[ +672 ms] I/flutter (14098): hehe2 null
[ +10 ms] I/flutter (14098): 0
[ +278 ms] I/flutter (14098): #178 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4911:17)
[ +2 ms] I/flutter (14098): #179 Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
[ +1 ms] I/flutter (14098): #180 _TheatreElement.update (package:flutter/src/widgets/overlay.dart:507:16)
[ ] I/flutter (14098): #181 Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
[ +1 ms] I/flutter (14098): #182 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
[ +1 ms] I/flutter (14098): #183 Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
[ +1 ms] I/flutter (14098): #184 StatefulElement.update (package:flutter/src/widgets/framework.dart:3835:5)
[ +1 ms] I/flutter (14098): #185 Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
[ +1 ms] I/flutter (14098): #186 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
[ ] I/flutter (14098): #187 Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
[ ] I/flutter (14098): #188 ProxyElement.update (package:flutter/src/widgets/framework.dart:3947:5)
[ +1 ms] I/flutter (14098): #189 Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
[ +1 ms] I/flutter (14098): #190 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4803:14)
[ ] I/flutter (14098): #191 Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
[ +2 ms] I/flutter (14098): #192 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
[ +1 ms] I/flutter (14098): #193 Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
[ ] I/flutter (14098): #194 StatefulElement.update (package:flutter/src/widgets/framework.dart:3835:5)
[ ] I/flutter (14098): #195 Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
[ ] I/flutter (14098): #196 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4803:14)
[ ] I/flutter (14098): #197 Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
[ ] I/flutter (14098): #198 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4803:14)
[ ] I/flutter (14098): #199 Element.updateChild (package:flutter/src/widgets/framework.dart:2729:15)
[ ] I/flutter (14098): #200 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
[ ] I/flutter (14098): #201 Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
[ ] I/flutter (14098): #202 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2273:33)
[ ] I/flutter (14098): #203 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBindi
ng.drawFrame (package:flutter/src/widgets/binding.dart:673:20)
[ ] I/flutter (14098): #204 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersi
stentFrameCallback (package:flutter/src/rendering/binding.dart:208:5)
[ ] I/flutter (14098): #205 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.d
art:990:15)
[ ] I/flutter (14098): #206 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:9
30:9)
[ ] I/flutter (14098): #207 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:
842:5)
[ ] I/flutter (14098): #208 _invoke (dart:ui/hooks.dart:139:13)
[ ] I/flutter (14098): #209 _drawFrame (dart:ui/hooks.dart:128:3)
[ ] I/flutter (14098): ════════════════════════════════════════════════════════════════════════════════════════════════════
[ ] I/flutter (14098): Another exception was thrown: No MaterialLocalizations found.
[+1321 ms] I/chatty (14098): uid=10315(com.adilstore.rakeshproject) 1.ui identical 1 line
[ ] I/flutter (14098): Another exception was thrown: No MaterialLocalizations found.

///////////////////////////////////////////////Main.dart///////////////////////////////////////////////

Issue 2:
Steps to Reproduce

Follow Get the Flutter SDK

Copy Flutter to ~/.flutter

Add Flutter to $PATH

Run flutter doctor -v

Logs

Unhandled exception:
FileSystemException: Cannot create file, path = '/Users/<username>/.flutter' (OS Error: Is a directory, errno = 21)
#0 _File.throwIfError (dart:io/file_impl.dart:647:7)
#1 _File.createSync (dart:io/file_impl.dart:285:5)
#2 new IOPersistentProperties (package:usage/src/usage_impl_io.dart:119:13)
#3 new AnalyticsIO (package:usage/src/usage_impl_io.dart:30:17)
#4 new Usage (package:flutter_tools/src/usage.dart:29:18)
#5 runInContext.<anonymous closure> (package:flutter_tools/src/context_runner.dart:83:20)
#6 AppContext._generateIfNecessary.<anonymous closure> (package:flutter_tools/src/base/context.dart:99:41)
#7 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:284:23)
#8 AppContext._generateIfNecessary (package:flutter_tools/src/base/context.dart:87:20)
#9 AppContext.[] (package:flutter_tools/src/base/context.dart:114:32)
#10 Usage.instance (package:flutter_tools/src/usage.dart:53:39)
#11 flutterUsage (package:flutter_tools/src/usage.dart:21:33)
#12 _handleToolError (package:flutter_tools/runner.dart:107:7)
<asynchronous suspension>
#13 run.<anonymous closure> (package:flutter_tools/runner.dart:64:20)
<asynchronous suspension>
#14 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142:29)
<asynchronous suspension>
#15 _rootRun (dart:async/zone.dart:1124:13)
#16 _CustomZone.run (dart:async/zone.dart:1021:19)
#17 _runZoned (dart:async/zone.dart:1516:10)
#18 runZoned (dart:async/zone.dart:1463:12)
#19 AppContext.run (package:flutter_tools/src/base/context.dart:141:18)
<asynchronous suspension>
#20 runInContext (package:flutter_tools/src/context_runner.dart:43:24)
<asynchronous suspension>
#21 run (package:flutter_tools/runner.dart:51:10)
#22 main (package:flutter_tools/executable.dart:51:9)
<asynchronous suspension>
#23 main (file:///b/build/slave/Mac_Flutter_Packaging/build/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#24 _startIsolate.<anonymous closure> (dart:isolate/runtime/libisolate_patch.dart:287:32)
#25 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)