Category "flutter"

Flutter: How to add a widget on the left, and another one in the centre of a row

I want to align a Text widget to the centre of a row, and I also want a Button widget on the left, on the same row. The text widget is surrounded with an expand

Pass dynamic data from Scaffold body to Navigation Drawer in Flutter (using Drawer as side sheet)

I am developing a counter app which supports multiple counters. Since flutter does not provide a side sheet modal, I am using the Navigation Drawer as a side sh

ChromeProxyService: Failed to evaluate expression

Often when rendering from a list, I see Flutter throwing the following, from beneath example, see PositionedTilesState: ChromeProxyService: Failed to evaluate e

Flutter Android Notification Icon (Grey Square)

I'm using flutter_local_notifications and everything is ok on debug mode but when I checked it on my phone with release mode the icon is turning grey square. I

In flutter app Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent

Please help me to sort out the problem. I give a link to the git. https://github.com/Vasajj/radio_tysa_fm.git something is wrong with PendingIntent, with packag

ChromeProxyService: Failed to evaluate expression

Often when rendering from a list, I see Flutter throwing the following, from beneath example, see PositionedTilesState: ChromeProxyService: Failed to evaluate e

Cannot Select Checkbox List Tile Flutter

I've created a map of values to make checkboxes. The map consists of String and bools and when the value of the bool is changed, the check box value should chan

flutter web zoom and pan on mouse hover

iam working on flutter web project and i need to make widget contain image that zoom and pan on mouse hover i tried using mouse region + InteractiveViewer but i

Image.network throw error even after defining errorBuilder in Flutter

I am facing some issues with loading images from URLs in Flutter. Here is my code: @override Widget build(BuildContext context) { return ClipRRect(

How to get the HTTP response from WebVIew in Flutter?

I'm trying to sign in to an app via WebView, and at the end of the process it gives me a response with a token. How can I get the response data from the WebView

Flutter :The shrinker may have failed to optimize the Java bytecode

I'm trying to integrate cloud firestore to and android app but all I get is this error every single time Launching lib/main.dart on Android SDK built for x86 i

Flutter - How to set showModalBottomSheet to full height but below status bar?

I am able to make bottomSheet to full height by using showModalBottomSheet(...) and set the property isScrollControlled:true. However, the bottom sheet is over

Integrate AWS s3 bucket with flutter

I'm creating flutter application with Firebase authentication. But I need to store some recording files (mp3) to cloud storage. I need to use aws s3 as a requir

How to download binary file

I want to download a binary file which is PDF and save it into my device. The file comes from API response. My response.body is like this: Here is my code:

FLUTTER Error: Method 'copyWith' cannot be called on 'TextStyle?' because it is potentially null

Wow I have a whole lot of these: Error: Method 'copyWith' cannot be called on 'TextStyle?' because it is potentially null. 'TextStyle' is from 'package:flutter

Flutter/Dart: getters with a parameter

I can't understand how this works. In the class: Function(int) get myGet { return myStream.sink.add; } and its implementation in a screen: myObject.myG

Flutter doctor error - Android sdkmanager tool not found. Windows

I have been going round in circles with this issue, there are so many that people have issues similar to mine, but not one of them is the same. I am trying to g

How to verify certificate chain in Flutter?

I have a mobile app written in Flutter that stores an intermediate cert. Other mobile clients can send certificates to this device and it should decide whether

Flutter: Playing sound from UInt8List in Android and iOS

I have a UInt8List which contains sound byte data (can be mp3 or wav). I am trying to build a small sound player component. However I found no way to put the by

getting the pages multible times from infinite scroll pagination package

im building an app that gets data from api and the api has pages so i used the infinite scroll pagination package but when the data appears , the first page dat