2020欧洲杯手机版注册

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

Questions tagged [dart]

2020欧洲杯手机版注册Dart is a class-based, statically(& strongly)-typed programming language for building web and mobile applications. Dart compiles to modern JavaScript to run in the browser and compiles to native code to run on mobile platforms like Android and iOS. Dart also runs on the command-line for scripting and server-side apps.

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
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.
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
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 (...
0
votes
1answer
18 views

Dart dynamic access to nested array

I have a nested Map that's look like this :{users: {1: {id: 1, name: Bill, date: 2020-01-01 00:00:00.000Z}}}I want access to the namearray["users"]["1"]["name"]This is working fine. But I want ...
0
votes
2answers
26 views

Unhandled Exception: MissingPluginException

I am using shared_preferences: ^0.5.6. called it in main(). I'am getting the below errorUnhandled Exception: MissingPluginException(No implementation found for method getAll on channel plugins....
1
vote
0answers
15 views

Loading data on init with BLoC

New to Flutter with BLoC. Building off of a search template, looking to have data (items) load on app load instead of on state change. The method getCrystals() returns the correct data when the ...
0
votes
1answer
17 views

Check Smartphone for existing Social Media Accounts

at the moment I develop an App with flutter and I want to check the Smartphone for existing Social Media Accounts (Facebook, Instagram, LinkedIn, Snapchat,...).Is there a way to check this, without ...
0
votes
1answer
20 views

json_extract for in android in flutter not working

while executing below query in flutter in ios its working but in android getting below exception.Unhandled Exception: DatabaseException(no such function: JSON_EXTRACT (code 1)query: SELECT * from ...
-2
votes
0answers
13 views

Is there an API for building Mobile app that accesses server edms and retrieves the requested data?

I would like to integrate company EDMS with Mobile app developed in flutter. The Edms is hosted in a server that needs to be accessed. Someone kindly describe the best way for me to achieve this ...
0
votes
1answer
33 views

Query map object data in dart/flutter based on key value

I have following API response from the server {_embedded: [ { _id: { $oid: "5e26c4d32c9da790ea1c4b7a" }, storeName: "ggagav", phone: "+919654846950", pincode: "...
0
votes
1answer
17 views

FCM duplicated messages from php to iOS flutter app

I use Firebase Cloud Message for a Flutter app.I try to trigger a push notification with php code. It give me a success: 1 result, but on my device I always receive 2 message with the same title&...
0
votes
0answers
20 views

how to call a method in another javascipt file from dart

im having trouble trying to call a javascript file from my dart file in order to access my azure database, anyone else know a way besides this?my dart code:void login(String username, String ...

15 30 50 per page