Category "flutter"

Flutter Stateful widget inside a Stateless widget and vice versa

How does Flutter rebuild/repaint work in case of: Creating a Stateless widget inside a Stateful widget. Creating a Stateful widget inside a Stateless widget. Do

How to fix black screen in flutter while Navigating?

I am creating a multi-paged app on flutter. When I am using the navigation in it, I am getting a black screen. import 'package:flutter/material.dart';

Display widget with based on sibling max width

I got a Column, it contains many Text entries of different sizes and I'd like to have them expand to the same width than the largest text. My Text entries are

Flutter: Dart Error: RangeError (index): Invalid value: Only valid value is 0: 1

Hey guys I am new to Flutter and trying to build a variation selector for an eCommerce application. I am getting this error while trying to build a size variati

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