Category "flutter"

How to trigger phone open with, when done downloading with url flutter

Hi everyone so I'm trying to create an app using flutter that will able the user to download file from URL (might be PDF, image, etc.) I want the app to be able

How to provide flutter path in next User Account (2nd user) mac?

I have installed flutter and it's working but it doesn't work in another user. For another user I have given it as administration privilege. Do I need to downlo

How to remove the space under the elevated button at the bottom of the screen?

import 'package:flutter/material.dart'; class AddPlaceScreen extends StatefulWidget { static const routeName = '/add-place'; @override _AddPlaceScreenSt

Json decode Instance of Item

I'm trying to save a list of object into a shared preference for easy storage. I'm getting the error [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exce

Flutter WebView doesn't work on canvas for web

I am building a cross platform application for web, android and mobile using WebView feature but I want to use the canvas implementation but the WebView doesn't

How to add a marker in flutter to the Yandex MapKit?

How to add a marker in flutter (as far as I understand, this is placemark, but after studying the documentation. I haven't found how to add it. marker on the ma

How to add a marker in flutter to the Yandex MapKit?

How to add a marker in flutter (as far as I understand, this is placemark, but after studying the documentation. I haven't found how to add it. marker on the ma

Flutter: Using a (Future) http post request in ChangeNotifier

in one of my ChangeNotifier, if have an authentificate method. This is a method, that gets an auth - token with a Future gettoken function and then sets the som

flutter TextField use cause KeyboardListener alway show keyboard on event

using KeyboardListener to gain barcode from scanner, i can't resolve a incredibly stupid problem. scanning first with keyboardListener work perfectly. events ar

Error Running the Application on Android Mobile

I was working on a small flutter project suddenly I couldn't run the app to any android mobile. (on Web it's running Perfectly). It Shows this Error: Could

how to show a pdf fetched from an API response in flutter?

I am working in a project where I have to show certificate that the user finished a course, there is an URL of the API that uses the get method within a token t

Flutter CustomScrollView how to keep the viewport when adding item at the start of the list?

Problems: For example, there is a list of 100 messages. The current viewport of CustomCrollView is showing message 50 -> 60. When adding a new item to the st

Firebase updates doesn't change in screen (flutter)

in my project, i have a button that will change some value from firebase, what i am facing is that although i am using setState and futureBuilder, the changes d

how to delete an object from list in flutter

i want to delete an object from list of inventory in which i just have description and url of the inventory and i want to delete object of inventory by descript

Execution failed for task ':camera:compileDebugJavaWithJavac'

I have created a new flutter project and added camera plugin. after adding that dependency I got many errors. I used futter version is 2.5.2 & minSdkVersion

Flutter Web send pdf file to a WhatsApp contact using URL Launcher

I have implemented a void function to launch WhatsApp in Flutter Web using URL Launcher. However my goal is to pass a pdf file to a WhatsApp contact and not the

Flutter - BottomNavigationBar - SizedBox() Issue

I'm new to flutter development. I've been trying to add SizedBox() but I'm getting the following Error at compile time The argument type 'SizedBox' can't be ass

.zshrc:3: parse error near `>' when i open terminal on mac

i have error when i open my macOS Monterey 12.3.1 terminal after installing flutter like this : Last login: Sat May 14 10:49:04 on console /Users/malela/.zshrc

Firebase Delete User who signed it with apple correclty

I have implemented the Sign-In-With-Apple with Firebase. And I also have the functionality to delete a user. This is what I do: static Future<bool> dele

Why is my updated data not reflecting on my flutter UI except i hot restart my app while using GetX state management?

I am using getx as my statemanagment for my flutter app. After updating a field from my update profile page, i am fetching the records and displaying it, but it