Category "flutter"

Exception caught by widgets library null check to xfile to file

When I build after changing Xfile to file, it says null check operator user on a null value, but I don't know what the problem is The code is too long, so I'll

Getting null in response with get API

Hello I have this package http package Have it, in the file pubspec.yaml on dependencies http: ^0.12.0+2 . I get the packages. Import import 'package:http/http.

Class AMSupportURLConnectionDelegate is implemented in both ?? (0x204ba8188) and ?? (0x1145382b8). One of the two will be used. Which one is undefined

I'm running the flutter project on M1(Apple Silicon). This project is working in the Apple Intel and Windows. Please see my error messages while I got in the fl

Insufficient permissions to the resource in https://pub.dartlang.org package repository

I got this error when I delete flutter-sdk and replace new flutter-sdk Insufficient permissions to the resource in https://pub.dartlang.org package repository.

EpisodeDetailsRouteArgs can not be null because it has a required parameter

I got EpisodeDetailsRouteArgs can not be null because it has a required parameter this error, even I passed the arguments. Here my inkwell widget: onTap: ()

Flutter image_picker crashes when opening camera

I'm trying to use image_picker on Flutter and it works perfectly on Android emulator. But when I try to use it on my real device, it crashes when I clicking the

Return fingerprint and save in firebase

I am trying to write an app using flutter or android studio. The user will login to the app using his fingerprint. I want to read the fingerprint and save it in

Semantic Issue (Xcode): Property 'timeSensitiveSetting' not found on object of type 'UNNotificationSettings *'

I am trying to implement incoming call notification. I use FirebaseMessaging.instance.getAPNSToken() to get APNS token using Firebase but keeps returning a null

Get value from textFormField within a ListView

I've a ListView in my flutter project, in which I have 2 TextFormFields. I want the get the value whatever user has typed in from the TextFormField and print it

OS Error: Connection refused, errno = 111, address = 127.0.0.1, when trying to run a hello world blockchain app

I'm trying to follow this GeekForGeeks tutorial on mac M1 via emulator but I'm seeing this error Unhandled Exception: SocketException: OS Error: Connection refu

Initializing FIrebase on Flutter throws error

So I have been trying to initialize my firebase with my flutter app but it keeps throwing an error every time, the code has no problem since flutter builds the

Flutter - Media Query for keyboard height always returns zero

I'm trying to subtract the height of the keyboard from the height of the screen so I can apply that value to the height property of my listview container. This

Hide Overlay only works at random times

I'm working on this flutter app and I've created this icon at the bottom of the screen. It's an overlay so it can stay at the bottom of the screen. Furthermore,

why in DropdownButtonFormField item my CupertinoSwitch value doesn't change in flutter

i'm using provider package for my states i have CupertinoSwitch in my DropdownMenuItem when switch CupertinoSwitch and data change when close DropdownMenuItem d

How to save QR Scan details to listview using flutter?

I am currently building a QR Scanner App using flutter.  There I want to know how to scan a QR Code and save it permanently(using shared preferences) with

How to remove flutter_native_splash from app?

I used flutter_native_splash: ^1.3.2 for splash screen, i want to remove this splash screen. Below code is in pubspec.yaml file. flutter_native_splash: color:

'package:flutter/src/widgets/framework.dart': Failed assertion: line 5356 pos 14: '()

I get the error 'package:flutter/src/widgets/framework.dart': Failed assertion: line 5356 pos 14: '() { // check that it really is our d when I tab on

Flutter change button color when clicked in a list of buttons

I have a list of buttons in my app and each button is supposed to filter a list of items. All buttons have the same color, I want such that only one button has

How to get polygon co-ordinates for a location searched on google maps. Maps API

I want to know if there is any way to get a city/suburb/postal code's outer boundary coordinates, so as to be able to draw a polygon on the map. I have read thr

Can't Access Cookie in HTTP Response with Flutter

I'm working on Flutter an app which will use Express based REST api. While implementing Cookie based sessions, I wanted to retrieve cookies from app with basic