Giter Club home page Giter Club logo

Comments (6)

totore86 avatar totore86 commented on September 23, 2024 1

We have figured out with all package updated and with Flutter 2.
We have only one issue with the timestamp in the NoteDto solved by eliminating the timestamp ;)

Some of modification:

  • updated context.bloc to context.read
  • updated all the null safety check
  • updated all required keyword removing the @
  • flushbar and flushbar helper is removed
  • ExtendedNavigator to AutoRouter
  • ...and so on.

P.S.: The timestamp is saved on firebase but when we create/update a note the timestamp from firebase is Null. This generate a NoteFailure.unexpectedError but if we refresh the app in the home all the notes have timestamp and they are created/updated.

from flutter-ddd-firebase-course.

excellencemichel avatar excellencemichel commented on September 23, 2024

Hi @totore86, can you tell me how do you resolde the error on the todolist item id ? When I attempt to go on note detail, the todoListItem id is null, and I got CastError (Null check operator used on a null value)

from flutter-ddd-firebase-course.

totore86 avatar totore86 commented on September 23, 2024

Hi, I have just forked and created the pull request with flutter 2.2.2 and all dependencies at the latest version.

Check it out

from flutter-ddd-firebase-course.

adrianofreires avatar adrianofreires commented on September 23, 2024

We have figured out with all package updated and with Flutter 2.
We have only one issue with the timestamp in the NoteDto solved by eliminating the timestamp ;)

Some of modification:

  • updated context.bloc to context.read
  • updated all the null safety check
  • updated all required keyword removing the @
  • flushbar and flushbar helper is removed
  • ExtendedNavigator to AutoRouter
  • ...and so on.

P.S.: The timestamp is saved on firebase but when we create/update a note the timestamp from firebase is Null. This generate a NoteFailure.unexpectedError but if we refresh the app in the home all the notes have timestamp and they are created/updated.

Hey man! Thank you! You will save me a lot of hour study. But why you take of the all fields serverTimeStamp?

from flutter-ddd-firebase-course.

Pawelek55 avatar Pawelek55 commented on September 23, 2024

Here you will find the solution rrousselGit/freezed#428 (comment)

from flutter-ddd-firebase-course.

alperefesahin avatar alperefesahin commented on September 23, 2024

Hello all,

I recreate this repository, and asap I will publish it with the changes in the Medium article & YouTube. Stay tuned!

Medium: https://medium.com/@sahinefe
YouTube: https://www.youtube.com/channel/UCcsgi-iDYAtQPmWI7I8e0pg

from flutter-ddd-firebase-course.

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.