Nov 15 13:24
no offense, but I am tired
Nov 15 13:24
dude you and chatgpt are given me a migraine at this point
Nov 15 13:23
I have added that entire class so you look at it. but it fetches the items from the item model class
Nov 15 13:23
which class are you referring to
Nov 15 13:23
forget bout .pipe() it has nothing to do with the error. it only takes the stream subscription and points it to a target destination. I have done something but I have now moved from one progress to another with errors.
Nov 15 13:23
and this one : E/flutter (17949): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: DatabaseException(UNIQUE constraint failed: Items.id (code 1555 SQLITE_CONSTRAINT_PRIMARYKEY)) sql 'INSERT INTO Items (id, type, "by", time, text, parent, url, score, title, descendants, dead, deleted, kids) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' args [0, , , 0, , 0, , 0, , 0, 0, 0, []] E/flutter (17949): #0 wrapDatabaseException (package:sqflite_platform_interface/src/platform_exception.d‌​art:12:7) E/flutter (17949): <asynchronous suspension>
Nov 15 13:23
done that... still giving me these insane errors: Instance of 'Future<ItemModel?>', 42098471: Instance of 'Future<ItemModel?>', 42137527: Instance of 'Future<ItemModel?>', 42106368: Instance of 'Future<ItemModel?>', 42089611: Instance of 'Future<ItemModel?>', 42141587: Instance of 'Future<
Nov 15 13:23
did you read my entire question and the codes that followed?, I pasted stories bloc class over there and that line is the function _itemsTransformer
Nov 15 13:23
are you willing to help me out or stress me more? cause I am really looking for a solution here and you pointing out more errors. I have reviewed that line of code and corrected, it gets worse.so if you really know what I need, why don't you solve it and show it to me
Nov 15 13:23
I still don't get it
Nov 15 13:23
I have edited my question to add the print statement at the end.
 
Nov 20, 2022 23:46
thanks
Nov 20, 2022 23:46
ok
Nov 20, 2022 23:18
are you on discord ?
Nov 20, 2022 23:17
oh it is a video... I downloaded... but I can give you the link to the completed code... so you can review it
Nov 20, 2022 23:15
void getCurrentUser() async {
try {
final user = await _auth.currentUser;
loggedInUser = user!;
print(loggedInUser.email);
} catch (e) {
print(e);
}
}
Nov 20, 2022 23:15
and I have noticed a lot has changed in the firebase code since 2018... the tutorial is outdated
Nov 20, 2022 23:14
I am learning to use Firebase through a tutorial... called Flash chat
Nov 20, 2022 23:13
Yeah I have seen it Thank you
Nov 20, 2022 23:13
call the method directly??? I don't follow please... could you illustrate please
Nov 20, 2022 23:13
also the new warning thrown is that the local variable 'newUser' isn't used
Nov 20, 2022 23:13
oh ok thanks... side question by the way... has firebaseUser changed ?
 
Dec 24, 2021 13:04
I have fixed that one too
Dec 24, 2021 11:20
the second problem is that the hidden nav is not appearing when I click the button when the screen reduces size
Dec 24, 2021 11:19
it is coming.. I tried to painstakingly add the starter template and all my work... and it is sliding now
Dec 24, 2021 11:05
ok... thanks by the way I will try to figure it out and get back to you
Dec 24, 2021 11:02
I could do with bootstrap 5 but I don't seem to get any response
Dec 24, 2021 11:02
yh I noticed
Dec 24, 2021 11:01
hmm... this is really frustrating and discouraging for me, I just started learning bootstrap and web development in general
Dec 24, 2021 11:00
@SercanSebetçi ok
Dec 24, 2021 10:58
yh I am following that repository
Dec 24, 2021 10:58
that one too was a sham, when I implemented bootstrap v5 I couldn't even get the hidden the navbar to work when the screen is reduced to smaller sizes as that of a tablet ipad or mobile phone.. so i decided to use bootstrap 4 and it worked until now.
Dec 24, 2021 10:54
I was following a tutorial by Angela Bauer from App brewery, and it has been going on well up to now..
Dec 24, 2021 10:53
this is getting really frustrating and unlucky on my side...
Dec 24, 2021 10:48
so what is the solution then... I did everything I was asked to do... I added the js code and css code, read the instructions but still... is there another code for the buttons too
Dec 24, 2021 10:48
Does that mean the code Bootstrap placed in their doc site, would not work ever... because if I have to always reference yours anytime I need to use it... then they have a problem with their code
Dec 24, 2021 10:48
I have done everything but still