Relative Content

Tag Archive for androidflutter

how do i update an object in flutter?

I am trying to update an object in flutter and what i have is a grid view objects and trying to update the passed object to a details page but it won’t update what am i doing wrong?
and I get this err
Another exception was thrown: RangeError (index): Invalid value: Only valid value is 0: -1

proguard-rules for flutter plugin

I am unable to find documentation or forum posts on how to add proguard-rules.pro for a Flutter plugin. In a Flutter plugin, we don’t have an app folder with a build.gradle file as we do in standard Flutter applications. I’ve been looking into how to achieve this but haven’t found relevant information.

Block Confirm Navigation from displaying in Flutter Android App

I’m developing a Flutter application that uses a webview. While navigating from a DocuSign form and clicking back it displays this confirm navigation dialog (see below). It took me forever to find out this is a weird Android application confirmation screen and not a Flutter or DocuSign dialog. How can I prevent this dialog from displaying?

Flutter Your project’s Gradle version is incompatible with the Java version that Flutter is using for Gradle.?

Your project’s Gradle version is incompatible with the Java version that Flutter is using for Gradle. │
│ │
│ To fix this issue, first, check the Java version used by Flutter by running flutter doctor –verbose. │
│ │
│ Then, update the Gradle version specified in │
│ /Users/mac/Documents/GitHub/salesfine/android/gradle/wrapper/gradle-wrapper.properties to be compatible with that Java │
│ version. See the link below for more information on compatible Java/Gradle versions: │
│ https://docs.gradle.org/current/userguide/compatibility.html#java

Flutter – issues with background task

In my Flutter application, I’m trying to crop image in background using compute() method, because if I try to perform this task on main thread, UI will freeze for many seconds.