Category "flutter-dependencies"

I want to Save Contact Number at Mobile storage using Flutter

I wrote this function to save contact number, but it can't save on local storage Future _saveContact() async { Contact contact = Contact(); contact.fami

Why does my flutter app keep crashing when loading pdf from the internet?

I am building an app in flutter that reads pdf files from the internet. The package I'm using is "advance_pdf_viewer." I have followed everything as instructed

I want to create a cart view

I want to create a cartview by allowing an item to be selected once I click on the Icon Button then the item is pushed to the cartview and it can show if the it

In my flutter app when i open gps or camera or map , or any url , getting error "Lost connection to device." everytime

I am testing on a real device(Redmi 7A) when I open Camera ,URL,GPS, app always get error "Lost connection to device." but when i test on Samsung m31 or Samsung

How to design Filters in Flutter?

I am new to flutter and I wonder how to develop filters in flutter something like this (screenshot taken from google images), so I just want to know how to do f

How To Create Folder in Local Storage/External Flutter?

import 'package:path_provider/path_provider.dart'; import 'dart:io'; void createAppFolder() async { final directory = await getExternalStorageDi

When I wnat to get package flutter it show me HTTP error 403: Forbidden

I am working on flutter project in Intellij Idea. when I want to add a package in pubspec.yaml, it leads to below errror: HTTP error 403: Forbidden package:p

flutter build apk installing platform-tools repeatedly

I have installed flutter and android-SDK ( without android studio ) on windows-10. Installation completed successfully and everything is fine and no errors in w

Play Audio in Flutter from URL

I am new to flutter and I want to play audio file from URL path with play, pause and seek button and also show notification in player.

The argument type 'Future<Widget>' can't be assigned to the parameter type 'Widget'.dart

Here I have to use pdfImageFromImageProvider function to stateless widget. So, Is it possible to resolve this issue using stateless widget? Future<Widget>

Flutter error, Null check operator used on a null value

Whenever I tried to do register and tap on the register button then I am having this type of problem with the null check operator used on null values. I get thi

can not debug with flutter null-safety flutter-dependencies

i can run my app only using Flutter run --no-sound-null-safety my mobile attached my my lab top samsung M21 using android studio flutter version Flutter 2.2.1 d

Error in using table_calendar: ^3.0.5 dependency in flutter

I get this error in my code where I used a table_calendar dependency. Here is my code where I implemented the calendar. import 'package:fitr/reusable_widgets/bo

Flutter DropdownButton - expand outside of parent element

I need the flutter dropdownbutton to be expanded much more out of its parent so all dropdown menu items would fit into it. Now I'm using Row > Expanded >

how i can scan ID Card(NIC) in flutter and also get data from it?

I am building an app in flutter and in that app one step is to scan an id card (NIC) and get their name, DOB, expiry date, etc, so I am confusing that how I can

How to give Flutter SDK Path in Android Studio on Mac os, How to update Flutter SDK path in MACOS?

I have installed the Android studio and the plugin's DART,FLUTTER to kickstart the flutter but as i am not able to give path of sdk while creating my very first

Making a browser with flutter

I made a browser with flutter WebView and enabled JavaScript and this is my code for the browser screen. The main goal for the app is to automate a website (Mov

pub get failed : A package may not list itself as a dependency

I'm having this problem in pubspec.yaml : here the pubspec.yaml : dependencies: flutter: sdk: flutter cupertino_icons: ^1.0.2 pluto_grid: ^2.9.3 and

pub get failed (65 ' ) exit code 65

While trying to download packages to the flutter project im getting like:- [project] flutter pub get Running "flutter pub get" in project... Error on line 25,

how to draw over other apps in flutter?

I want to show alert box or pop up even my flutter app is closed. similar to this picture