Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Ghost
@ghost~5f8f66f2d73408ce4ff20dd5
Is there anyway I can translate a key to a widget and call setState via that?
GlobalKey seems to be a solution only for one instance of a widget - not multiple
Ghost
@ghost~5f8f66f2d73408ce4ff20dd5
Is there a better place I should look to get help with this problem?
andesappal
@andesappal
Silent issues?
I get:
image.png
Pretty much a black screen
macphailmagwira
@macphailmagwira
Shared preferences getString works only after i refresh my vscode while running app : https://stackoverflow.com/questions/64447318/shared-preferences-getstring-works-only-after-i-refresh-my-vscode-while-running
any help?
matrixbot
@matrixbot
stonegate You need to add await before update email ()
macphailmagwira
@macphailmagwira
updatemail()async {

 SharedPreferences user_info = await SharedPreferences.getInstance();
    user_email22 = user_info.getString('user_email');

    print("============================================================== after ================"+ user_email22);


}
i already did
added this function to my init state

  @override
  void initState() {
    super.initState();

 updatemail();

  }
 var secureRandom = SecureRandom();
    checkPreparing()    {

    var docSnapshot = FirebaseFirestore.instance
        .collection('bookings')
        .where('customer', isEqualTo: user_email22.toString());

    var docSnapshot2 =
        docSnapshot.where('status2', isEqualTo: 'preparing').snapshots();

    return docSnapshot2;
  }
i need to use the value in this query
Johannes Milke
@JohannesMilke_twitter
Hello! I have created another video about "DropdownButton - Single & Multiple Data - Flutter" https://www.youtube.com/watch?v=p1mzz6-19zo alt
Randal L. Schwartz
@RandalSchwartz
@JohannesMilke_twitter You should create a channel for that. When you get 100 subscribers, you can assign a meaningful name.
Randal L. Schwartz
@RandalSchwartz
Or at least a playlist.
murisjoh
@murisjoh
Hello! any suggestions and recommendations on which is better, visual studio code or Android studio for flutter and dart projects (that`s for mobile app development).
Randal L. Schwartz
@RandalSchwartz
is emacs or vim better?
@murisjoh ^^
Alexandra Deas
@alexandradeas_gitlab
@murisjoh whichever one you're used to
matrixbot
@matrixbot
linda234 Do you want to be financially stable? Have you started making money from home? Why not trade your way into good life. Trade binary option with the most reliable broker you can think of. Contact me @ +1 (414) 400-7564
Randal L. Schwartz
@RandalSchwartz
Reported to admins.
matrixbot
@matrixbot
darosa-fvs Was Bruder
Kyle
@kyle21z
anyone here understands in SQFlite?
i’ve got a syntax error, would really appreciate some help :)
Randal L. Schwartz
@RandalSchwartz
Might be able to spot it
Mua Rachmann
@muarachmann
Hi everyone... I have been on this for hours now till no avail and trying to search but yet no success. I have a listview builder that basically creates some. I have impleted a gesture detecture on each and I want it to pop a menu on long press. My menu shows but the position: RelativeRect.fromLTRB(100, 400, 100, 400) for example is fixed. Is there any way to make it show dynamically according to the position of the current element in the listview?. Basically I am hoping to change the property position such that the menu shows relatively to the selected listTile
Any help would be greatly appreciated thanks
Randal L. Schwartz
@RandalSchwartz
@kyle21z Can you paste it somewhere?
Kyle
@kyle21z
@RandalSchwartz ```
INSERT INTO POGGERS (id STRING PRIMARY KEY, tasktype TEXT, tasktitle TEXT, taskdescription TEXT, taskcompleted TEXT, datetime TEXT, datetimedue TEXT, taskpriority TEXT) VALUES (?, ?, ?, ?, ?, ?, ?, ?)
i keep getting a "near "STRING": syntax error" any clues?
Randal L. Schwartz
@RandalSchwartz
I think id is reserved.
Kyle
@kyle21z
not quite sure what you mean by that @RandalSchwartz. I've tried changing "id" to something else yet I got the same error; I've thought its something with my code at first but I found out its an SQL error due to online syntaxes recognising the same error.
Randal L. Schwartz
@RandalSchwartz
gimme sec. googling. :)
Oh, it’s an insert.
No specifying primary key there
that’s only in the create table
INSERT INTO POGGERS (id, tasktype, tasktitle, taskdescription, …)
insert into needs only column names, which will come from your create table.
Kyle
@kyle21z
its a different error now, it's telling me that there's no such table.
doing all of this on https://sqliteonline.com
thank you for helping regardless @RandalSchwartz :)
Randal L. Schwartz
@RandalSchwartz
do you have “create table poggers (and your oother code you tried too insert)"
and do you have the values for the ? placeholders?
Kyle
@kyle21z
in the actual code yes, in the sqliteonline example, no