Reddit » Flutter
143 FOLLOWERS
Reddit is a network of communities where people can dive into their interests, hobbies and passions. Having a problem with your Flutter code? Ask here!
Reddit » Flutter
3d ago
I wanted to make an app with multiple charts all showing related data. When I hovered on one chart I wanted to show spots on the other charts. To do this I overwrote the touchCallback for fl_chart and saved the hover position in a NotifierProvider and all charts watch this and then show the spots as required.
I have an issue when I hover I have a memory leak. The number of FlSpot objects grows very fast, into the millions very quickly and they never release. It starts with 20k objects and if I don't have my touchCallback or an empty callback it stays there.
``` dart /* Chart extends ConsumerW ..read more
Reddit » Flutter
3d ago
When using bin/main.dart instead on lib/main.dart, the app will not run using VSCode even if I configure "correctly" the launch.json file. Running flutter run bin/main.dart works.
{ "configurations": [ { "name": "Flutter (bin/main.dart)", "type": "dart", "request": "launch", "program": "bin/main.dart", } ] }
or
{ "configurations": [ { "name": "Flutter (bin/main.dart)", "type": "dart", "request": "launch", "program": "bin/main.dart", "cwd": "${workspaceFolder}" } ] }
submitted by /u/Affectionate-Gas8334
[visit reddit] [comments ..read more
Reddit » Flutter
3d ago
I am a student who has been tasked with creating a simple maths game for kids, I have to learn the language and produce said app where should I begin?
submitted by /u/NF_Guardian180
[visit reddit] [comments ..read more
Reddit » Flutter
3d ago
Hi
I need some help on the PopScope widget
On Android device's "backbutton" how do you handle the routing to pop the current screen and move back until a certain screen with arguments?
I am using the PopScope widget that is wrapped around the entire screenMy current IOS back button contains the following code and it works perfectly
Navigator.of(context).pushAndRemoveUntil(MaterialPageRoute(builder:(context)=> StepperScreen(param1: widget.param1, param2: widget.poram2)),(Route<dynamic>route)=>false);
Android section
return PopScope( canPop: true, onPopInvoked: (didPop) { Naviga ..read more
Reddit » Flutter
3d ago
Window adjustment slightly changes my containers' size in the CustomScrollView, is there any way to keep the boxes the same size and have the left and right padding adjust instead of the boxes?
submitted by /u/Richu727
[visit reddit] [comments ..read more
Reddit » Flutter
3d ago
I just got into flutter devolopment and i want to create an app for events in my country to booost my portfolio what things should i learn to make it happen. Whats the best resources to learn how to achieve this i only the basics
submitted by /u/kuroz2
[visit reddit] [comments ..read more
Reddit » Flutter
3d ago
I upgraded my ide last night because android studio said there was a new version. Now I can't work.
I would embed an image to show the error but this sub doesn't allow it.
TLDR; dart plugin 3.51 is not compatible with Jellyfish.
So now I have to downgrade android studio if I want to get any work don.
submitted by /u/Capital_Sherbet_6507
[visit reddit] [comments ..read more
Reddit » Flutter
3d ago
twitter has this nice google sign in that pops from the bottom automatically without having to click on the sign in button you can check it here => https://i.ibb.co/4gBF7WC/image.png
I'm using google-sign in package which when user taps on sign in it shows dialog chooser and i was wondering how to implement something like twitter's sign-in in flutter
submitted by /u/DryRazzmatazz507
[visit reddit] [comments ..read more
Reddit » Flutter
3d ago
Requirement:
after the user close the advertisement coins need to animate in center of the page to appbar trialing position bcoz i designed the coin wallet in trailing, so the coins need to animate above the scaffold i think,but how to do that animation? please help
submitted by /u/Sree89400
[visit reddit] [comments ..read more