Category "flutter"

Flutter : Execution failed for task ':geolocator:compileDebugJavaWithJavac'

This project build perfectly before January of this Year. But now it's show me error. First They show me location 16+ error. Then I changed the location package

LateInitializationError Flutter using SharedPreferences.then

I want set value of bool v from SharedPreferences in flutter but getting LateInitializationError. here's my code: import 'package:agl_mdd/home/home.dart'; impor

Why flutter http response in web missing headers?

I am making a simple flutter app using http package. I am trying to send a (post) login request, and the httpresponse is missing all the headers! this works fin

Flutter: How to copy HTML into the clipboard so mail apps recognize it as HTML?

Is it possible to copy HTML and paste it into Gmail or Apple Mail? Sample HTML: <img src="w3schools.jpg" alt="W3Schools.com" width="104" height="142"> I'

Dart manual translation text problem with double letter key's value never shows

I'm currently facing this problem with flutter (dart): var data = { "U": "উ", "UU": "ঊ", } UU's value never get printed it print U's value twice

flutter how to get OTP autofill in to otpController.text from firebase

flutter how to get OTP autofill into otpController.text from firebase --: when get OTP in mobile, need to auto-fills OTP in a text box, i am doing it in _onVeri

Sending Flutter form data into an SQLite database

I am a new Flutter developer trying to figure out how to send my form data into SQLite as an instance of a simple class I set up. I am trying to create a new us

google_maps_flutter crashes on ios device with the error "-[__NSCFString objectForKey:]: unrecognized selector sent to instance 0x2808f4380"

I have the google_maps_flutter 2.1.0 and flutter 2.10.3 running. While opening the map, the app crashes and shows the following error log. Could anyone point ou

how make secure key.properties file in flutter

as we write passwords in key.properties file for signing flutter APK. its not dangerous? how we can make it secure after debugging and reverse engenearing? sto

Border radius of selection list of DropdownButtonFormField in flutter

I didn't find how to decorate the list that appears when you click on DropdownButton like make radius for the corners as you see in the screenshot below.

Flutter Freezed Pakcage Sealed Classes Methods

When I generate sealed classes with Freezed, How can I add methods to the sealed classes? For example: import 'package:freezed_annotation/freezed_annotation.dar

How to achieve Expandable TextField with Center Align of text and prefixIcon in Flutter

I am stuck in trying to achieve a text field with prefix Icon. I want the text field and prefixIcon to be center-aligned and should expand while typing. Any hel

Connect Metamask with a native mobile app built with Flutter

I want to connect the app to Metamsk to get the user account and signature from the user to confirm the transaction. But the problem is that when I enter Metams

how to filter data in dropdown search in flutter

DropdownSearch.multiSelection( label: "Divison", mode: Mode.DIALOG, popupTitle: const Text("Select Divison"), showSearchBox: true, onChanged: (List val) { snaps

Showing Error (The operator '+' isn't defined for the type 'Uri'. Try defining the operator '+'.dart (undefined_operator))

THIS IS MY CODE this is the app for storing data into google spreadsheets. // showing red line under plus OPERATOR '+' in LINE import 'dart:convert' as convert;

How to give daily updates in a flutter app

I am building an flutter app for our office in which I want to add a feature that gives updates on daily basis such as custom news or tasks that employees have

Find the first page of a MuliPage in dart-pdf

I am creating PDF document using dart-pdf. It contains various sections that could be any number of pages in length. Each section starts on a new page. Currentl

Error: RenderBox was not laid out, Failed assertion: line 1940 pos 12: 'hasSize'

I can't fix this error RenderBox was not laid out: RenderPointerListener#2b92a relayoutBoundary=up9 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE 'package:flutter/

Location service status couldn't be determined when try to retrieve location data via a backgroud service

everyone, I'm trying to get the location data every time the application run a script via a background service for same reasons, but I got every time Location

image_picker maxDuration not limiting videos in gallery selection (Android or iOS) - Flutter

Utilizing image_picker: ^0.7.5+3 Using iPhone 12, iOS 14, Android Google Pixel, Android 10. Code: var pickerFile = await ImagePicker().getVideo(source: source,