2020欧洲杯手机版注册

A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [flutter]

Flutter is Google’s UI toolkit for building beautiful, natively compiled applications for mobile, web, and desktop from a single codebase.

Filter by
Sorted by
Tagged with
0
votes
0answers
18 views

Why does application close on back button - Flutter

As my question says, pressing phone back button application is going back to custom splash screen rather than previous page. Any idea what would be the issue ? Following is main.dart codevoid main() ...
0
votes
0answers
8 views

Insert clickable images in GridView

I develop a small flutter app, where I want to show a popup with clickable images I stored in a folder.So I tried it with GridView, but everytime I try to insert an image and I trigger the popup, the ...
0
votes
0answers
7 views

Flutter: Not able to show local notification when the app is in background

I'm listening to Firebase FCM data type messages and on receiving FCM messages, I intended to show a local notification from within the app._firebaseMessaging.configure( onMessage: (Map<...
0
votes
0answers
9 views

my sdk in android studio is readable, but when i run flutter doctor, it says that SDK file not found. what should i do?

[√] Flutter (Channel stable, v1.12.13+hotfix.5, on Microsoft Windows [Version 10.0.17763.973], locale en-ID) • Flutter version 1.12.13+hotfix.5 at C:\src\flutter • Framework revision ...
0
votes
1answer
8 views

AndroidStudio::Flutter:: How to switch between two main files

I need to switch between two different main files namely dev.dart and prod.dart the enntry.dart contains stateful Material App Widget.As shown below the image the files:I want from android studio ...
0
votes
1answer
11 views

Change a font family name in pubspec.yaml

I used my own fonts on my flutter app, however when I set the fonts initially, I used a name "QuickSand" but now I want to change it to "Quicksand" and it doesn't change back.initially inside ...
0
votes
1answer
9 views

Flutter Web = Problem, Flutter Mobile = Works; Why? (Throwing away cached asset graph due to Dart SDK update)

When I launch my app on mobile everything works fine.As soon as I am trying to launch my app in the browser (web) then I get this error where it tells me that it can not resolve files / can not find ...
0
votes
0answers
10 views

How to use Stacked Bar charts in flutter with two colors and place it in a card?

I am trying to display a Stacked Bar Chart in a Card. I am using fl_chart package in which there is a Stacked bar chart option.I need help with the bar chart.Please check the below link for Stacked ...
0
votes
0answers
10 views

Check if current thread is UI/main thread in flutter

How can we check if the current thread is main thread or background thread in flutter(dart) ?e.g. In iOS(swift), we can check so by Thread.isMainThread.
0
votes
2answers
24 views

Flutter: Display content in two columns next to each other

I need the output as followingBelow is my codeWidget _buildShoppingItem() { return Column( children: <Widget>[ Row( mainAxisAlignment: MainAxisAlignment.center, ...
0
votes
0answers
11 views

Flutter Firebase Auth - email verification bugs

Flutter Firebase Auth implementation appears quite unloved by the Firebase folks. Both are from Google, but sometimes it looks like Firebase for Flutter is really half-baked and pleas to add even ...
1
vote
0answers
14 views

How to calculate brightness from list of unsigned 8 bytes integer which represents an image in dart?

I wanted to calculate the brightness of an UintList image. The image I used are picked from my phone (Using image_picker plugin in flutter). I tried a for loop on every value of this list and did this:...
0
votes
1answer
17 views

Flutter TextFormField validator

I have a problem, someone knows how to put an error message from validator on an AlertDialog or a pop window with an 'ok' button to dismiss the pop window. This error has return => The return ...
0
votes
1answer
20 views

How to fetch data only once when using FutureBuilder?

I have a fetch request and I am passing it as a future to FutureBuilder - FutureBuilder( future: gettask(), builder: (context, snapshot){ if(snapshot.hasData){// ...
0
votes
0answers
7 views

Why is the futurebuilder in my program executing before the future method has completed?

Widget build(BuildContext context) { return FutureBuilder( future: _assembleLeagues(this.widget.user), builder: (BuildContext context, AsyncSnapshot snapshot) { if (...

15 30 50 per page