Category "flutter"

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

How to get list index values from an unlist variable?

var _first=<double> [108,105,90.833,87.7,88.6]; var _answers=<double>[]; for (var i=0; i<_first.length;i++){ _answers.add(_first[i]); dou

Flutter WooCommerce Customer registeration failed using Dio?

I am buidling flutter woocommerce store app for customers. I want to create/register a new customer using Dio() and I am using WordPress Plugin JWT Authenticati

Cant get video progress time in Flutter better player

I am building a video player app in flutter with better video player. All things are working fine with better player except that i cant get the video player pro