Category "flutter"

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

Flutter Exception Error Creating StreamChat channel

Hello I'm trying to use StreamChat.io API to build a chat app but when I try to create a channel I get this error StreamChatNetworkError (StreamChatNetworkError

Select image for flutter web on mobile device

Im currently using https://pub.dev/packages/file_picker for this function FilePickerResult result = await FilePicker.platform.pickFiles(); if (result != nu

Call setState from class that extends StatefulWidget

If I update a variable using class object, the build method should get called, but I am unable to call setState from the StatefulWidget class. class CustomError

How to dim the tabar like in the picture?

I am developing a featured news app, how do I make a blur tabar like in the picture