Category "flutter"

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

E/LB: fail to open file: No such file or directory - Flutter

I try to display whatsapp Status images from the File directory ('/storage/emulated/0/WhatsApp/Media/.Statuses'). But there do not appear any image. Console sho

Deprecation warning in gradle in Android Studio in Flutter project

I have created a Flutter project in Android Studio (Bumblebee | 2021.1.1 Patch 3). When I open the android folder in a seperate window, when the gradle syncing

Drawer navigation that preserves state

I've got a basic navigation drawer with three options: Home, Settings, & About. I'm reusing this Drawer in each of my views. Abbreviated version: Drawer(

Pie Chart disappears when "defaultRenderer: charts.ArcRendererConfig" is added to Charts in Flutter

I am completely new to Flutter, but I need to develop a mobile app for a university project using Flutter & Dart. I want to add a Pie Chart to my applicatio

Flutter localisation method not generating correctly with plural placeholder

I'm currently localizing my flutter app using the intl package. I have a localised text that contains two placeholders: userName and dayCount, where I have used

flutter bloc outdated need help how do i update this, PreferencesBloc Try declaring a zero argument constructor, doesn't have a zero argument constru

it is an outdated multilanguage code with bloc flutter, the error is in, Any suggestion to fix it would be greatly appreciated. PreferencesBloc({ required

Flutter: draw over image with CustomPainter with DrawnLines

A part of an application I am working on involves editing photos. I am attempting to include an option to draw on an image. I can not find any examples of how t

Not able to align floating action menu in flutter

I have this menu on the floating button , but I could not align it correctly, I want it to show directly above the floating button, this is how it looks in red

Convert date and time in dart [duplicate]

from API I am getting this: "2022-05-12T15:55:03.000000Z" My question is, how can I make it: 12.05.2022, 15:55 My question is, is here any eas

Crashing when asking audio permission in iPhone 6s, iPhone 8 plus and iPhone XR

In iPhone 6s, iPhone 8 plus and iPhone XR with iOS 14.8.1 and 15.3.1, app is crashing when click on audio button. At this time it is asking permission. I follow

Flutter: Equivalent of Animation<double> for a ScrollController

With Flutter we can provide an animation with a default value before we have built an AnimationController to act as it's default value. This is done with Always

Displaying decimal numbers on 2D array grid view

I am trying to create a 2D grid with the following features: It will have more than 100 X and Y cells, so I cannot show them all on the screen. Therefore, I wan

How to have timer with variable duration in Flutter

How can I make a timer that its speed increases every minute i.e. the timer duration decreases evey 1 minute in Flutter?