Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
Mayank Janmejay
Autofill has been rather buggy in my tests, hopefully someone else has had better luck with it
@Omega_Primus_twitter I have 3 android apps with flutter, i tried porting 1 to web and after not great success i am thinking of ditching the framework for web.
Omega Prime
@mayankjanmejay Hmm, i hope it doesn't have issues, I had spent a good bit of time on my app. I will give it a go then, I was just going to use wiki for now as an autocomplete example as there is a lot of data from it https://en.wikipedia.org/w/api.php?action=opensearch&search=$query&limit=20&format=json
Matan Shukry
I have columns 2 children: listview (reversed) and a container
I want the listview to start at the top though. how can I do that?
Naveen yadav
@matanshukry FIrst define the container and then define listview respectively in column children
Matan Shukry
@naveenyadav15 What container are you talking about? the issue is the listview is reversed, so the content starts from bottom
Naveen yadav
okay i understood now so a workaround is you reverse the items list rather than reversing the listview
Matan Shukry
I'm reversing the listview because of scrollling not because of the content, so I can't do that either

$ flutter run
Launching lib\main.dart on Redmi Note 8 Pro in debug mode...
Running Gradle task 'assembleDebug'... 41.2s
Exception: Gradle task assembleDebug failed with exit code -1

what should i do??

Naveen yadav
@kevinlalkalathingal try : flutter run -v
Matan Shukry
if that still doesn't work, go to androiddirectory and run ./gradlew assembleDebug
it didnt work i guess..
Hi all,
I updated android studio with flutter and dart plugin but when running the application get stuck with emulator always says:
"Emulator: Warning: Quick Boot / Snapshots not supported on this machine. A CPU with EPT + UG features is currently needed. We will address this in a future release."
Please suggest how this can resolve. System configuration is 64bit Core2Duo Processor with enabled Virtualization and UEFI from BIOS, but the same red line appears in android studio Event Log.

Hi all, I was able to make a flutter ffi plugin run with the generated example project on iOS, but when doing so on Android, I seem to have JDK/gradle configuration issues, such as the following in my MainActivity.kt

Check your module classpath for missing or conflicting dependencies
Error running 'libmynative': No JDK specified for module 'mynative_example_android'
Cannot access 'android.app.Activity' which is a supertype of 'com.my.app'. Check your module classpath or conflicting dependencies

How should I go about this?

I do have the following dependencies specified in my build.gradle for the Android example app

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.core:core-ktx:1.0.2'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'

So I assume that the system will find the JDK for me. On the other hand, I built another kotlin/NDK Android project, with the same version of Android Studio 3.6.3, which runs perfectly. I basically copied most Gradle settings from there.

onTap: navigationTapped,
currentIndex: _page,
```void navigationTapped(int page) {
// Animating to the page.
// You can use whatever duration and curve you like
setState(() {
duration: const Duration(milliseconds: 50), curve: Curves.ease);



void onPageChanged(int page) {
setState(() {
this._page = page;

Hi, its possible to save the result image of an image using the colorBlendMode property of Image.file?
Hello, everyone!
Flutter JSON Serialization - Not generating *.g.dart files
I tried to build project to receive json object by using json_annotation
but there is error Not generating *.g.dart files
what is the reason?
Sachin Goud
I am getting error "ImageFilter isn't defined for the class Paint' could anyone of you resolve the error
what is the reason?
[WARNING] json_serializable:json_serializable on lib/model/movie.dart:
Missing "part 'movie.g.dart';".
oh, I fixed it myself.
commend : flutter packages pub run build_runner watch
then write part 'movie.g.dart';
next compile
workerspartywayne Hello flutter people!
FlutterBluePlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
why does this message appear?
Stream<NavigationStates> mapEventToState(NavigationEvents event) async* {
switch (event) {
case NavigationEvents.HomePageClickedEvent:
yield HomePage(); <-- HomePage I changed from StatelessWidget to StatefulWidget and it doesnt work
yield does not work anymore when changed from StatelessWidget to StatefulWidget
how can i get it to work
w Why is the official recommended using the Provider instead of Redux?
w Why is the official recommended using the Provider instead of Redux?
Hi All,
Please I need help in deploying a GitHub Plugin in my new flutter project..
I tested the plugin and example working fine..
but when deploying I face error
my question : how to deploy a GitHub plugin to a new flutter project?
thanks for your help
where is the most active group for flutter development ?
what is yield ?
Stream works better with stateful widget @axilaris
@matrixbot i also find provider so kuch better
Hi guys