Category "flutter"

Flutter User ColorFiltered to dark image with matrix

I want in flutter to user ColorFiltered, so i can make jpg image dark here is my code but i didn't get the right result, i don't understand matrix and how to ch

Way to disable background gesture/tap actions behind floating action button?

I am developing an app in flutter using the google_maps_flutter package. I listen for user taps on the screen and record the lat/lng of that press. However, I d

How can I create an animation for the bottom navigation bar in Flutter?

I have a bottom navigation bar with some tabs and I want to animate the icons of them when I switch page, without an external package. And I have one more quest

Flutter :- This AdWidget is already in the Widget tree. How to disable this exception. And what does it mean?

So I insert admob ads inside the List. And I added the functionality of infinity scroll inside the list view. So when the user scrolls to end of the list, new i

Using bottom navigation with individual Navigators but single AppBar

I am trying to create an app that has the following basic setup for navigation: tab1 -> subpage tab2 tab3 with a bottom navigation bar for switching between

Update Gradle in Flutter project

I have this project in Flutter, but I haven't been able to build an apk for a couple of weeks, because of the Gradle version. I've tried everything, but Flutter

library_private_types_in_public_api and StatefulWidget

After upgrade the linter to the new version (flutter_lints: 2.0.1) in my pubspec the linter enables this rule: library_private_types_in_public_api by default. I

TextFormField update input to 1 if user keys in 0 flutter

I am having a TextFormField as a child in Form like below Form(

Flutter tests - Having two Integration tests in a same group ()

I'm trying to run two tests in a same group in one test file. If I split them into two separate test files, they are working fine. But if I add them in a group,

Flutter is not finding android sdk

Whenever i run flutter doctor the following error comes [√] Flutter (Channel stable, 2.8.1, on Microsoft Windows [Version 10.0.22000.438], locale en-IN)

Environment variables in string.xml in Flutter

Is it possible to send environment variables to string.xml in flutter? How to do it?

Error: could not find the correct Provider<List<Parking>> above this ParkingList Widget

import 'package:flutter/material.dart'; import 'package:flutter_user_profile/home/parking_tile.dart'; import 'package:provider/provider.dart'; import 'parking_t

Error: Error when reading 'pub': No such file or directory

I am trying to set up a Dart project to use shelf. Now to enable hot reload, I am trying to install dartman. On doing pub global activate dartman Command 'pub'

Can use provider in init state (but it gives me an error)

I can use the provider in the init state, but it does give me an error. I saw answers that you need to use listen: false in the provider. of method but it still

How can I send a soap request using flutter with two arguments and a wsdl

I am trying to send a soap request with two arguments using flutter. The wsdl can be found at this address I didn't found any ways to only send a request with

Setting up Flutter in terminal yields a command not found message

I'm trying to setup Flutter on my Mac but when I use the terminal to check the version I keep getting the message "zsh: command not found: flutter" The steps th

How can I change gradle to work offline in Android Studio Bumblebee for a Flutter project

I have Android Studio Bumblebee on ubuntu and I need to set my Gradle to work offline. I can't find the gradle tab to try out some of the suggestions such as th

Changing icon color in light theme doesn't have any affect

I'm writing a flutter application and I'm trying to define my own themes for light and dark themes. coding with android studio and testing it using the regular

How to remove Grey box from Picker Flutter widget

I am using flutter_picker: ^2.0.0 plugin. And could not find option to remove grey box from Picker. Here is my code :- Picker( itemExtent: 50, magni

MissingPluginException(No implementation found for method on init channel better_player_channel)

I am getting the following error even though I copied the example from better_player documentation. I made sure my target on android is 31, kotlin is 1.5+, and