Git Product home page Git Product logo

Comments (2)

jonataslaw avatar jonataslaw commented on May 21, 2024

Hi, i am Brazilian and first i want to thank you for this amazing library.

i found this error "'package:get/src/routes.dart': Failed assertion: line 112 pos 12: 'child == null': is not true." when call

Get.dialog()

I managed to fix it by changing the following line

https://github.com/jonataslaw/get/blob/f64d4a35d51fc7a21cd68f1283f52873f10cee21/lib/src/routes.dart#L112

to

assert(child != null)

First, thanks for this issue, I made this update at 4:30 am, because I was busy and wanted to keep the library active, and the lack of coffee made me insert an "==" instead of "! =" In the assert.
Your solution also works, as there will be no nullity check on the child, however, if someone opens a dialog without a child, there will not be a warning saying that it is mandatory, so I changed the operators and am upgrading to version 1.7.4 now.
I am happy to see someone from the Brazilian community using this lib, and this great framework shows that we are gaining strength, which is incredible. If you face any problem, do not hesitate to inform.

from getx.

GUIKAR741 avatar GUIKAR741 commented on May 21, 2024

Thanks for solving this problem.

from getx.

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.