Comments (6)
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.
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.
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.
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.
Here you will find the solution rrousselGit/freezed#428 (comment)
from flutter-ddd-firebase-course.
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)
- Where to initialize Firebase app HOT 1
- state.copyWith not overriding properties HOT 2
- problem with auto_route package HOT 1
- Bloc To Bloc Communication
- 'autovalidate' is deprecated and shouldn't be used - sign_in_form.dart HOT 5
- Issues with flutter inspector.
- Exception caught by widgets library HOT 3
- Error-Causing Widget HOT 1
- NoteFailure.unexpected: type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'List<dynamic>' in type cast HOT 4
- Error getting notes HOT 1
- How can I implement it with riverpod
- Make it work with latest version of flutter
- The getter 'key' was called on null. HOT 3
- doc.data() shows a error
- Json serialization with with deep class object Id and JsonKen(ignore:true) HOT 3
- Classes can only mix in mixins and classes. HOT 1
- "signInWithEmailAndPasswordPressed()" asking for an argument in "sign_in_form.dart" file HOT 1
- Unhandled Exception: type 'Freezed' is not a subtype of type 'ValueObject<String>' of 'other'
- Updated Version of Flutter DDD Firebase Course (2022) - ResoCoder HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter-ddd-firebase-course.