Category "flutter"

How to send Images through Multipart in Flutter

I want to send three images to my server. I have tried following. There are no errors, no exception but I can't send pictures to the server. Can you help me whe

why my streamBuilder get stuck in the active Connection State even though i got all the data in my App?

Im getting data in my Flutter Web App from my Firebase Collection but my stream builder connection state stuck in the active state and not proceeding to the don

How to navigate to next ListView item in flutter

I want to navigate to the next item on a Listview. I tried implementing the solution in this post but it doesn't work for me. I created a function nextLesson()

Flutter: The getter 'answers' isn't defined for the class 'List<Map<String, Object>>'

I am trying to access 'second' from the below: final basic_answers = const [ { 'questionText': 'Q1. Who created Flutter?', 'answers': [ {'first': 'Faceb

Flutter objectbox initialization

How can i initialize properly the instance of my DatabaseProvider? I'm struggling with it. I found solutions but everyone of them initialize objectbox in the wi

Flutter how to update ui when user change size of web application window

I create flutter web application to increase knowledge about adaptive ui, and i stuck with a big problem for me. When i move my application window to other scre

Is this possible to send FCM push Notification through backend server to flutter for scheduled the notification or this can be possible in flutter app

I am using firebase cloud messaging push notification service to send notifications in a flutter, but I want to send notifications. I am using FCM as a push not

Passing model object as an argument with Flutter GetX

I need a model object on two screens. I have 2 questions: Is passing a model object (from one screen to another) required if we are using GetX? If yes, how do

Placing dropdownbutton selections into a to-do list

I am very new to Flutter/Dart, so please forgive my ignorance and please explain everything to me like I am a five year old. I have a screen on my app where I w

How to play private domain Vimeo video in flutter app

I am trying to call this API using the Bearer authorization token to get video detail. but still, the video does not play. GET: https://api.vimeo.com/videos/{vi

Flutter - The non-nullable local variable 'newTaskTitle' must be assigned before it can be used

Hi so I have been getting this error - "The non-nullable local variable 'newTaskTitle' must be assigned before it can be used. (Documentation) Try giving it an

type 'Future<dynamic>' is not a subtype of type 'String' Invalid radix-10 number (at character 1) Instance of 'Future<dynamic>'

I am having a problem of reading a number from firebase. I have no problems writing the number to firebase but as soon as I close the app the numbers displayed

banner adMob show a black screen in android app

I have created a simple flutter app and its work perfectly, so recently I added to it a section to show google adMob (bottomNavigationBarm widget) I used google

Why aren't my apps showing anything after i added list tile

import 'package:flutter/material.dart'; import 'package:flutter/cupertino.dart'; class Reservation extends StatelessWidget { @override Widget build(BuildCo

ffmpeg kit flutter video compressor

I am not experienced with ffmpeg. So I'm sorry if I'm asking the wrong question in the wrong place. i am trying to make a video compressor, i add the dependency

Why does Dart expect a value of type dynamic instead of T in a generic class [duplicate]

So I'm working on a flutter app and created a generic dropdownbutton class that I want to fill with objects from a database. The dropdownbutto

How to handle multiple api calls in flutter

I'm trying to call multiple api's but i can't really figure out how to format the results in json for both endpoints. Future<List<dynamic>> fetchM

Flutter : /opt/..../FETCH_HEAD exists in filesystem Arch

While updating and installing some packages sudo pacman -Syu && sudo pacman -S --needed \ webkit2gtk \ base-devel \ curl \ wget \... on Arch Linux I go

Flutter disconnect and dispose bluetooth devices in proper method

Im using flutter reactive plugin https://pub.dev/packages/flutter_reactive_ble For connect and fetching data from multiple devices. Successfully i have connecte

How to screen off or lock the device by clicking our app icon in flutter

I want to turn off / lock the screen of my device by the clicking the icon of my app in flutter. Like some new Android devices have this functionality. Anyone P