Category "flutter"

How to import flutter module to a flutter project?

I have a flutter module project and I want to import it into another existing flutter project, how can I do this? I think this may not be possible since there w

SingleChildScrollView isn't working in my login screen

this is the login screen I had Implemented using flutter. I want this screen to be scrollable. how can I do that? I have uploaded my login screen code for your

"Authorization not granted" error in Flutter app for Google Fitness

I browsed the Web for tutorials on how to use health package and Google Fitness API in a flutter app. I gathered the steps according to my understanding: Create

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