Category "flutter"

Flutter: convert future to stream

I am getting data as Future from my json API. And use my Flutter Mobile app. Here is my code for getting data from API- import 'dart:async'; import 'dart:conver

Flutter usb serial with arduino, Not detecting CH340

I'm trying this package usb_serial to communicate with my hardware devices like Arduino, Esp8266, Esp32, FTDI board, etc., Right now I'm using a board with a CH

Target of URI doesn't exist: 'googleapis'

I have added googleapis package into my flutter project and also run flutter pub get but still when i tried to import 'package:googleapis_auth/auth_io.dart' Gee

How do I get an overlay to appear on a button click and then that button stay above the overlay in flutter?

I'm developing an app and I want the button I click on to activate a total screen overlay. Basically turn the screen darker whilst keeping the button I've click

My Flutter App is Not Working on Android 11 But Working fine in emulator as well as android 8 || (OS Error: Operation not permitted, errno = 1)

Here is My Code import 'package:flutter/material.dart'; import 'package:screenshot/screenshot.dart'; import 'package:sweld/globals.dart'; import 'package:geoloc

Flutter Firestore - Load insted references in same model

My project has a document with two or more references, sometimes I need to load these references data before display the data itself. For example: "Item" docume

Scoping Lifecycle of ChangeNotifier to just a specific number of screens

I have a ChangeNotifier Subclass that I am sharing between a number of screens like this: final value = MyChangeNotifier(); MaterialApp( routes: { '/list

Keycloak gives me XMLHttpRequest error. with flutter but don't with postman

Goodmorning, I'm trying to use keycloak and flutter but unfortunally when i ask the token to keycloak he gives me an XMLHttpRequestError. I use thos method to a

error Looking up a deactivated widget's ancestor is unsafe

I don't know what is wrong with this, but when I click on the close icon button I get this error. ════════ Excep

Checkbox Position in flutter

How can i change the position of checkbox on top left side of my title, in checkboxlisttile

How to apply Scroll controller for multiple SilverList or ListView items?

I have found the internet a way to hide arrow when scrolling horizontally through FlutterLogo with CustomSrollView. The functionality works and i want to place

How to improve the accuracy of Yolov4-tiny.tflite in flutter

I have trained the yolov4-tiny file and successfully converted it to tflite. There were no problems during the computer test, but I encountered difficulties in

Dart abstract factory method

I'm pulling table data from api in my application that I wrote with Flutter. According to the API used in the table data, different types of data are coming. I

auto converting json to object in dart flutter

I search google and stackoverflow but did not find some auto converting lib like in C# I need something in dart-flutter alternative to this code in C# strin

How to convert SVG to PNG in flutter

I am looking to convert SVG from assets to png and write it to File. I have managed to write SVG to file, but I want to write the image to a file as a PNG code

Show svg or image from network depending on type flutter

Hi I'm using a service that send me images, sometimes png or jpeg images and I use the flutter widget Image. In the other hand sometimes send me svg images intu

cloud_firestore/unavailable The service is currently unavailable

I am using Firebase Firestore in my flutter application. Everything works fine in debug mode. But, in release mode I get the following error. I saw a similar qu

Flutter FutureBuilder exceptions: add default behaviour

In my app I use FutureBuilder extensively and I would like a generic behaviour when one of them fails. I am trying this setup WidgetsFlutterBinding.ensureIniti

W/Choreographer(11277): Frame time is 13.988632 ms in the future! Check that graphics HAL is generating vsync timestamps using the correct timebase

W/Choreographer(11277): Frame time is 13.988632 ms in the future! Check that graphics HAL is generating vsync timestamps using the correct timebase. This is t

Breakpoints not working with Flutter in Android Studio

I can set breakpoints, but when I run in Debug mode the breakpoint's icon change with this: I think that the problem is the new version of Flutter plugin in An