Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Debug ERROR  #443

@xxpniu

Description

@xxpniu

AssertionError: Error caught by widgets library, thrown building Unity.UIWidgets.material.AppBar(dependencies:System.Collections.Generic.List1[Unity.UIWidgets.foundation.DiagnosticsNode], state:Unity.UIWidgets.material._AppBarState#5F300). No MaterialLocalizations found. Unity.UIWidgets.material.AppBar widgets require MaterialLocalizations to be provided by a Localizations widget ancestor. Localizations are used to generate many different messages, labels,and abbreviations which are used by the material library. To introduce a MaterialLocalizations, either use a MaterialApp at the root of your application to include them automatically, or add a Localization widget with a MaterialLocalizations delegate. The specific widget that could not find a MaterialLocalizations ancestor was: Unity.UIWidgets.material.AppBar The ancestors of this widget were: Unity.UIWidgets.material.FlexibleSpaceBarSettings Unity.UIWidgets.widgets.ConstrainedBox(BoxConstraints(0.0<=w<=Infinity, 0.0<=h<=56.0)) Unity.UIWidgets.widgets.MediaQuery(Unity.UIWidgets.widgets.MediaQueryData(size: Size(320.0, 550.0), devicePixelRatio: 2.0, textScaleFactor: 1.0, platformBrightness: light, padding: EdgeInsets.zero, viewInsets: EdgeInsets.zero, alwaysUse24HourFormat: False, accessibleNavigation: FalsedisableAnimations: FalseinvertColors: FalseboldText: False)) Unity.UIWidgets.widgets.LayoutId-[<appBar>](id:appBar) Unity.UIWidgets.widgets.CustomMultiChildLayout Unity.UIWidgets.widgets.AnimatedBuilder(animation:Unity.UIWidgets.animation.AnimationController#58C00(⏭ 1.000; paused)) Unity.UIWidgets.widgets.DefaultTextStyle(inherit:False, color:Color(0xDD000000), backgroundColor:Color(0xDD000000), family:Roboto, size:14, weight:400, baseline:alphabetic, decoration:$decoration, decorationThickness:null, overflow:clip) Unity.UIWidgets.widgets.AnimatedDefaultTextStyle(duration:200ms, inherit:False, color:Color(0xDD000000), backgroundColor:Color(0xDD000000), family:Roboto, size:14, weight:400, baseline:alphabetic, decoration:$decoration, decorationThickness:null, textAlign:center, overflow:clip, maxLines:null) Unity.UIWidgets.material._InkFeatures-[GlobalKey#40700 ink renderer] Unity.UIWidgets.widgets.NotificationListener1[Unity.UIWidgets.widgets.LayoutChangedNotification]
Unity.UIWidgets.widgets.PhysicalModel(shape:rectangle, borderRadius:BorderRadius.zero, elevation:0.0, color:Color(0xFFFFFFFF), shadowColor:Color(0xFF000000))
Unity.UIWidgets.widgets.AnimatedPhysicalModel(duration:200ms, shape:rectangle, borderRadius:BorderRadius.zero, elevation:0.0, color:Color(0xFFFFFFFF), animateColor:False, shadowColor:Color(0xFF000000), animateShadowColor:True)
Unity.UIWidgets.material.Material(type:canvas, color:Color(0xFFFFFFFF), shape:null, borderOnForeground:True, borderRadius:null)
Unity.UIWidgets.widgets.PrimaryScrollController(Unity.UIWidgets.widgets.ScrollController#73000(no clients))
Unity.UIWidgets.material._ScaffoldScope
Unity.UIWidgets.material.Scaffold
Tal.TB.CourseMaker.LoginPage
Tal.TB.CourseMaker.CourseMakerApp
Unity.UIWidgets.widgets.Builder
Unity.UIWidgets.widgets.RepaintBoundary-[GlobalKey#9B200]
Unity.UIWidgets.widgets.IgnorePointer(ignoring:False)
Unity.UIWidgets.widgets.AnimatedBuilder(animation:Listenable.merge([Unity.UIWidgets.animation.AnimationController#91800(⏭ 1.000; paused; for Unity.UIWidgets.widgets.PageRouteBuilder)➩Unity.UIWidgets.animation.ProxyAnimation, kAlwaysDismissedAnimation➩Unity.UIWidgets.animation.ProxyAnimation➩Unity.UIWidgets.animation.ProxyAnimation]))
Unity.UIWidgets.widgets.RepaintBoundary
Unity.UIWidgets.widgets._FocusScopeMarker
Unity.UIWidgets.widgets.FocusScope
Unity.UIWidgets.widgets.PageStorage
Unity.UIWidgets.widgets.Offstage(offstage:False)
Unity.UIWidgets.widgets._ModalScopeStatus
Unity.UIWidgets.widgets._ModalScope-[GlobalKey#36300]
Unity.UIWidgets.widgets._OverlayEntry-[GlobalKey#C9F00]
Unity.UIWidgets.widgets.Stack(alignment:bottomLeft, fit:expand, overflow:clip)
Unity.UIWidgets.widgets._Theatre
Unity.UIWidgets.widgets.Overlay-[GlobalKey#6C500]
Unity.UIWidgets.widgets._FocusScopeMarker
Unity.UIWidgets.widgets.FocusScope
Unity.UIWidgets.widgets.AbsorbPointer(absorbing:False)
Unity.UIWidgets.widgets.Listener(listeners:down, up, cancel, behavior:deferToChild)
Unity.UIWidgets.widgets.Navigator-[Unity.UIWidgets.widgets.GlobalObjectKey1[Unity.UIWidgets.widgets.NavigatorState] Unity.UIWidgets.widgets._WidgetsAppState#14200] Unity.UIWidgets.widgets.Directionality Unity.UIWidgets.widgets.WindowProvider Unity.UIWidgets.widgets._LocalizationsScope-[GlobalKey#D8900] Unity.UIWidgets.widgets.Localizations(locale:en_US, delegates:DefaultWidgetsLocalizations.delegate(en_US)) Unity.UIWidgets.widgets.MediaQuery(Unity.UIWidgets.widgets.MediaQueryData(size: Size(320.0, 550.0), devicePixelRatio: 2.0, textScaleFactor: 1.0, platformBrightness: light, padding: EdgeInsets.zero, viewInsets: EdgeInsets.zero, alwaysUse24HourFormat: False, accessibleNavigation: FalsedisableAnimations: FalseinvertColors: FalseboldText: False)) Unity.UIWidgets.widgets.WidgetsApp [root] at Unity.UIWidgets.material.MaterialD+<>c__DisplayClass1_0.<debugCheckHasMaterialLocalizations>b__0 () [0x00132] in /Volumes/Work/gitlab/threebody-Editor/CourseCreater/Library/PackageCache/[email protected]/Runtime/material/debug.cs:88 at Unity.UIWidgets.foundation.D.assert (System.Func1[TResult] result, System.Func1[TResult] message) [0x00001] in /Volumes/Work/gitlab/threebody-Editor/CourseCreater/Library/PackageCache/[email protected]/Runtime/foundation/debug.cs:30 at Unity.UIWidgets.material.MaterialD.debugCheckHasMaterialLocalizations (Unity.UIWidgets.widgets.BuildContext context) [0x0000e] in /Volumes/Work/gitlab/threebody-Editor/CourseCreater/Library/PackageCache/[email protected]/Runtime/material/debug.cs:53 at Unity.UIWidgets.material._AppBarState.build (Unity.UIWidgets.widgets.BuildContext context) [0x00001] in /Volumes/Work/gitlab/threebody-Editor/CourseCreater/Library/PackageCache/[email protected]/Runtime/material/app_bar.cs:153 at Unity.UIWidgets.widgets.StatefulElement.build () [0x00001] in /Volumes/Work/gitlab/threebody-Editor/CourseCreater/Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2235 at Unity.UIWidgets.widgets.ComponentElement.performRebuild () [0x00010] in /Volumes/Work/gitlab/threebody-Editor/CourseCreater/Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2154 Unity.UIWidgets.material.MaterialD+<>c__DisplayClass1_0.<debugCheckHasMaterialLocalizations>b__0 () (at Library/PackageCache/[email protected]/Runtime/material/debug.cs:88) Unity.UIWidgets.foundation.D.assert (System.Func1[TResult] result, System.Func`1[TResult] message) (at Library/PackageCache/[email protected]/Runtime/foundation/debug.cs:30)
Unity.UIWidgets.material.MaterialD.debugCheckHasMaterialLocalizations (Unity.UIWidgets.widgets.BuildContext context) (at Library/PackageCache/[email protected]/Runtime/material/debug.cs:53)
Unity.UIWidgets.material._AppBarState.build (Unity.UIWidgets.widgets.BuildContext context) (at Library/PackageCache/[email protected]/Runtime/material/app_bar.cs:153)
Unity.UIWidgets.widgets.StatefulElement.build () (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2235)
Unity.UIWidgets.widgets.ComponentElement.performRebuild () (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2154)
UnityEngine.Debug:LogException(Exception)
Unity.UIWidgets.foundation.D:logError(String, Exception) (at Library/PackageCache/[email protected]/Runtime/foundation/debug.cs:15)
Unity.UIWidgets.foundation.UIWidgetsError:dumpErrorToConsole(UIWidgetsErrorDetails, Boolean) (at Library/PackageCache/[email protected]/Runtime/foundation/assertions.cs:120)
Unity.UIWidgets.foundation.UIWidgetsError:dumpErrorToConsole(UIWidgetsErrorDetails) (at Library/PackageCache/[email protected]/Runtime/foundation/assertions.cs:105)
Unity.UIWidgets.foundation.UIWidgetsError:reportError(UIWidgetsErrorDetails) (at Library/PackageCache/[email protected]/Runtime/foundation/assertions.cs:131)
Unity.UIWidgets.widgets.WidgetsD:_debugReportException(String, Exception, InformationCollector) (at Library/PackageCache/[email protected]/Runtime/widgets/debug.cs:140)
Unity.UIWidgets.widgets.ComponentElement:performRebuild() (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2158)
Unity.UIWidgets.widgets.Element:rebuild() (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2078)
Unity.UIWidgets.widgets.ComponentElement:_firstBuild() (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2146)
Unity.UIWidgets.widgets.StatefulElement:_firstBuild() (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2265)
Unity.UIWidgets.widgets.ComponentElement:mount(Element, Object) (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2141)
Unity.UIWidgets.widgets.Element:inflateWidget(Widget, Object) (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:1507)
Unity.UIWidgets.widgets.Element:updateChild(Element, Widget, Object) (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:1348)
Unity.UIWidgets.widgets.ComponentElement:performRebuild() (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2166)
Unity.UIWidgets.widgets.Element:rebuild() (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2078)
Unity.UIWidgets.widgets.ComponentElement:_firstBuild() (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2146)
Unity.UIWidgets.widgets.ComponentElement:mount(Element, Object) (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2141)
Unity.UIWidgets.widgets.Element:inflateWidget(Widget, Object) (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:1507)
Unity.UIWidgets.widgets.Element:updateChild(Element, Widget, Object) (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:1348)
Unity.UIWidgets.widgets.SingleChildRenderObjectElement:mount(Element, Object) (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2880)
Unity.UIWidgets.widgets.Element:inflateWidget(Widget, Object) (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:1507)
Unity.UIWidgets.widgets.Element:updateChild(Element, Widget, Object) (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:1348)
Unity.UIWidgets.widgets.ComponentElement:performRebuild() (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2166)
Unity.UIWidgets.widgets.Element:rebuild() (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2078)
Unity.UIWidgets.widgets.ComponentElement:_firstBuild() (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2146)
Unity.UIWidgets.widgets.ComponentElement:mount(Element, Object) (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2141)
Unity.UIWidgets.widgets.Element:inflateWidget(Widget, Object) (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:1507)
Unity.UIWidgets.widgets.Element:updateChild(Element, Widget, Object) (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:1348)
Unity.UIWidgets.widgets.ComponentElement:performRebuild() (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2166)
Unity.UIWidgets.widgets.Element:rebuild() (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2078)
Unity.UIWidgets.widgets.ComponentElement:_firstBuild() (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2146)
Unity.UIWidgets.widgets.ComponentElement:mount(Element, Object) (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2141)
Unity.UIWidgets.widgets.ParentDataElement:mount(Element, Object) (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2442)
Unity.UIWidgets.widgets.Element:inflateWidget(Widget, Object) (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:1507)
Unity.UIWidgets.widgets.MultiChildRenderObjectElement:mount(Element, Object) (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2969)
Unity.UIWidgets.widgets.Element:inflateWidget(Widget, Object) (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:1507)
Unity.UIWidgets.widgets.Element:updateChild(Element, Widget, Object) (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:1348)
Unity.UIWidgets.widgets.ComponentElement:performRebuild() (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2166)
Unity.UIWidgets.widgets.Element:rebuild() (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2078)
Unity.UIWidgets.widgets.ComponentElement:_firstBuild() (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2146)
Unity.UIWidgets.widgets.StatefulElement:_firstBuild() (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2265)
Unity.UIWidgets.widgets.ComponentElement:mount(Element, Object) (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2141)
Unity.UIWidgets.widgets.Element:inflateWidget(Widget, Object) (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:1507)
Unity.UIWidgets.widgets.Element:updateChild(Element, Widget, Object) (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:1348)
Unity.UIWidgets.widgets.ComponentElement:performRebuild() (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2166)
Unity.UIWidgets.widgets.Element:rebuild() (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2078)
Unity.UIWidgets.widgets.ComponentElement:_firstBuild() (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2146)
Unity.UIWidgets.widgets.ComponentElement:mount(Element, Object) (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2141)
Unity.UIWidgets.widgets.Element:inflateWidget(Widget, Object) (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:1507)
Unity.UIWidgets.widgets.Element:updateChild(Element, Widget, Object) (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:1348)
Unity.UIWidgets.widgets.ComponentElement:performRebuild() (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2166)
Unity.UIWidgets.widgets.Element:rebuild() (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2078)
Unity.UIWidgets.widgets.ComponentElement:_firstBuild() (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2146)
Unity.UIWidgets.widgets.StatefulElement:_firstBuild() (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2265)
Unity.UIWidgets.widgets.ComponentElement:mount(Element, Object) (at Library/PackageCache/[email protected]/Runtime/widgets/framework.cs:2141)
Unity.UIWidgets.widget

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions