Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
kakyoism
@kakyoism

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.
NithinPrabhu24
@NithinPrabhu24

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

});

}

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

@Aashishm178
JRamos29
@JRamos29
Hi, its possible to save the result image of an image using the colorBlendMode property of Image.file?
Shipofsea
@shipofsea
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
@Sachin-Goud-9
Hi
I am getting error "ImageFilter isn't defined for the class Paint' could anyone of you resolve the error
Shipofsea
@shipofsea
error_g_dart.jpg
what is the reason?
Shipofsea
@shipofsea
[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
matrixbot
@matrixbot
workerspartywayne Hello flutter people!
Shipofsea
@shipofsea
Hello
FlutterBluePlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
why does this message appear?
axilaris
@axilaris
Stream<NavigationStates> mapEventToState(NavigationEvents event) async* {
switch (event) {
case NavigationEvents.HomePageClickedEvent:
yield HomePage(); <-- HomePage I changed from StatelessWidget to StatefulWidget and it doesnt work
break;
yield does not work anymore when changed from StatelessWidget to StatefulWidget
how can i get it to work
matrixbot
@matrixbot
w Why is the official recommended using the Provider instead of Redux?
w Why is the official recommended using the Provider instead of Redux?
holan
@holan
Hi All,
Please I need help in deploying a GitHub Plugin in my new flutter project..
kangshaojun/flutter_touchvg#2
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
axilaris
@axilaris
where is the most active group for flutter development ?
axilaris
@axilaris
what is yield ?
Aashishm178
@Aashishm178
Stream works better with stateful widget @axilaris
@matrixbot i also find provider so kuch better
razzhimself
@razzhimself
Hi guys
Aashishm178
@Aashishm178
Dont use adobe xd plugin to design whole page use it design tiny chunks of page like text widget and all , As of now this plugin in not usable thats what i think it uses transform for no purpose at all
JRamos29
@JRamos29
Hi. How do i get the assets directory path or the project root directory path?
Xiao.Ren
@rx123rx
Anybody build failed with Android gradle plugin 4.0.0?
طيب مفتاح
@tayeb_500_twitter
hello flutterers
i am a blind user fluttering using my screen reader, but i'm having an issue with some syntax, could i get a help?
i'll pb my code
haha nevermind, i think i was missing ) :P
طيب مفتاح
@tayeb_500_twitter
@jramos29 why do you need to reference your asset directory?
i think you can reference your assets in your pubspect then use the relative path to get access to them, like in assets/images folder
JRamos29
@JRamos29
@tayeb_500_twitter I’d wanted to read the files inside the directory. But don’t need anymore. By the way, is there anyway to get the reference of the root project directory? I tried to use path_provider but it seems to give access only to the Documents folder and Temp folder. Or i’m missing something?
JonathasLogic
@JonathasLogic
i want to conect my device (adb devices) like emulator in vscode, but when i starting debug the vscode show this to me : Your launch config references a program that does not exist. If you have problems launching, check the "program" field in your ".vscode/launch.json" file.
what i should to do?
GYANENDRA PANDEY
@gyanendrapmca
can we automate, simple apk app in flutter_driver??? Please help me regarding this...
Aashishm178
@Aashishm178
@JRamos29 use pathprovider package
GYANENDRA PANDEY
@gyanendrapmca

can we automate, simple apk app in flutter_driver??? Please help me regarding this...

????