Code Monkey home page Code Monkey logo

Comments (3)

DoriZim avatar DoriZim commented on July 29, 2024

Exception kann provoziert werden, indem das Theme geändert wird, oder eine andere Page geöffnet wird, sodass sich die HUD updaten muss. Da die Keys der Widgets darin aber im MyAppState definiert werden, updaten sich die Keys nicht und die alten Keys werden mehrfach verwendet.

Hilfreichere Fehlermmeldung:

Duplicate GlobalKeys detected in widget tree.

The following GlobalKeys were specified multiple times in the widget tree. This will lead to parts of the widget tree being truncated unexpectedly, because the second time a key is seen, the previous instance is moved to the new location. The keys were:

  • [GlobalKey#80783]
    [GlobalKey#eb773]
    [GlobalKey#5e303]
    This was determined by noticing that after widgets with the above global keys were moved out of their respective previous parents, those previous parents never updated during this frame, meaning that they either did not update at all or updated before the widgets were moved, in either case implying that they still think that they should have a child with those global keys.
    The specific parents that did not update after having one or more children forcibly removed due to GlobalKey reparenting are:
  • IconTheme(size: 24.0, color: Color(0xff6750a4))
    IconTheme(size: 24.0, color: MaterialColor(primary value: Color(0xff9e9e9e)))

from moneymate.

DoriZim avatar DoriZim commented on July 29, 2024

Bug bei einem apk build nicht reproduzierbar. Kommt im debug wohl öfter zu GlobalKey Exceptions, die später aber keine Auswirkungen auf die deployed version haben.

from moneymate.

DoriZim avatar DoriZim commented on July 29, 2024

Fixed, as global keys are no longer used for the tutorial

from moneymate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.