Issue I am going to have a bunch of buttons in my flutter app, and I want to make a class for it so I don’t need to copy-paste it and make my code look long for the same type
Continue readingTag: dart
How to make a class for button widgets
Issue I am going to have a bunch of buttons in my flutter app, and I want to make a class for it so I don’t need to copy-paste it and make my code look long for the same type
Continue readingChange size of BottomNavigationBar onTap?
Issue I am trying to add a BottomNavigationBar that whenever you tap the screen (tapping on a map in my instance) or swipe down, its size becomes smaller and some items in it get removed. For example: I am trying
Continue readingHow to specify -d flag with device ID using DAP
Issue When i run dap continue, debugger starts but soon after it closes itself after asking to specify device. So i was wondering what is best solution to this and can i specify -d flag and maybe hardcode chrome? Here
Continue readingWhat is the difference between using unawaited and not using unawaited in flutter/dart?
Issue I’ve just stumbled upon a github repo containing an example of flutter application for google_sign_in package. I’m confused about a particular usage of unawaited used inside the example : Future<void> _handleAuthorizeScopes() async { final bool isAuthorized = await _googleSignIn.requestScopes(scopes);
Continue readingAPI is calling and getting response but no data is saved in the database
Issue I’m tying to call an PATCH API in my flutter project with help of Dio library. It is an API to update customer details. It is getting 200 status code and getting proper response, but data is not saving
Continue reading$ flutter pub run build_runner build in project with hive not responding
Issue When run $ flutter pub run build_runner build in project with hive, it just stops here(i have even waited 2 hours and its not going any further), i have tried creating a new project specifically for hive implementation. but
Continue readingProblem in starting my flutter app (i think it is a build problem)
Issue I’m sorry if the problem is not explained well enough, I hope if there is something that needs to be displayed as problem information, to be further added. Basically, I’m pretty new to flutter. I have created myApp and
Continue readingProblem in starting my flutter app (i think it is a build problem)
Issue I’m sorry if the problem is not explained well enough, I hope if there is something that needs to be displayed as problem information, to be further added. Basically, I’m pretty new to flutter. I have created myApp and
Continue readingFlutter: type 'Null' is not a subtype of type 'String'
Issue What is causing the following error at line Text(getGreetingText(user.firstName)); I am printing the value of user.firstName and it is not null I have also tried to defined the user with the firstName field with ? but I get the
Continue reading