Flutter - Vertical viewport was given unbounded height

I want to write the available devices under the image that is shown like this: <a href="https://i.stack.imgur.com/QrNx4.png" rel="nofollow noreferrer"><img src="https:...

Flutter - Async file reading exception handling

I am new to dart/flutter and a litte confused by the <strong>async-await</strong> flutter exception handling in this case. So basically i have this function tha...

I am getting error while running my flutter app

When I am starting debugging I get this error : <blockquote> Launching lib\main.dart on ONEPLUS A5000 in debug mode... lib\main.dart:1 E/AndroidRuntime(11211):...

flutter simple calculation Function error

When i call the function one time it run perfectly but if i call it again it will show different value and read the different else block please check the code i am att...

Flutter app crashs and restart from splash screen when using camera function

I want to click an image and send it to the server. the code works well if we are using <code>gallery function</code> but fails to work when it is swap by <code>camera...

Error when adding Facebook Authentication to flutter App

I'm going crazy because I'm trying to solve this from 3 days ago :) any one can please help me. Note: the app is already on google play, now I'm working on version 2 o...

how to access c:/windows/where.exe Flutter and Android Emulator (the-requested-operation-requires-elevation)

i am trying to make a gps app but i have a problem. Emulator cannot access c:/windows/where.exe application during compilation. I chose the Always run emulator...

Dart Error: error: import of dart:mirrors is not supported in the current Dart runtime - Using Hive Flutter with 2 Hive Boxes

Working on app that uses 2 Hive boxes in Flutter. My first time trying and after I made many changes I began getting error messages on launch: <pre><code>[VERBOSE-...

Another exception was thrown: RangeError (index): Invalid value: Only valid value is 0: 27

<a href="https://i.stack.imgur.com/wpiGX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wpiGX.png" alt="enter image description here" /></a> <p...

CocoaPods requires your terminal to be using UTF-8 encoding. Consider adding the following to ~/.profile. export LANG=en_US.UTF-8

<pre><code>[!] An error occurred while processing the post-install hook of the Podfile. undefined method `each_child' for #&lt;Dir:0x00007ff3fa3555c0&gt; Did you mean?...

I am not able to sign in to my google account in flutter by using google_sign_in

I used <code>google_sign_in</code> in my project, included <code>.json</code> file, enabled google sign in methods from firebase, added <code>sha1</code> and <code>sha...

Class _JsonDocumentSnapshot has no instance method call. Receiver: Instance of _JsonDocumentSnapshot Tried calling: call()

I trying to retrieving the data in Firebase with StreamBuilder but it appear this error. Does anyone know how to solve this? Appreciate so much for the help. <s...

A non-null String must be provided to a Text widget. package:flutter/src/widgets/text.dart: Failed assertion: line 370 pos 10: data != null

<pre><code> import 'package:cloud_firestore/cloud_firestore.dart'; class ChatScreen extends StatelessWidget { @override Widget build(BuildContext context) { ret...

Unable to solve this error : RangeError (index): Invalid value: Valid value range is empty: 0

I was trying to build a nearby app which i nearly completed but then this error start showing up. Sometime the app works fine, but sometime it gives compile time error...

How to solve the Type Null is not a subtype of type ... error?

When I run the code below, it prints this error to the screen, and I don't know why: <blockquote> type Null is not a subtype of type int </blockquote> Th...