FlashChat
FlashChat copied to clipboard
Missing profileEditForChatScreen.dart
There is no file as profileEditForChatScreen.dart! IDK why, but that file is nowhere to be found.
I just found that. And a lot more problems too.. Anyway I got why you did that.
I just found that. And a lot more problems too.. Anyway I got why you did that.
Hey, I'm sorry but I don't know why that file didn't get uploaded. I'll look into it. Also, this was my very first project with Flutter so there might be a lot of small issues here and there. Also, I don't think I even managed the state in this one. Still, the basic chat functionality works well. But I could've optimised the code a lot more.
It'll be good if you can add that file also. I found your app really interesting
Compiler message: /D:/Softwares-Installed/Android_Studio/flutter/.pub-cache/hosted/pub.dartlang.org/cached_network_image-1.1.3/lib/src/cached_network_image_provider.dart:42:24: Error: The method 'CachedNetworkImageProvider.load' has fewer positional arguments than those of overridden method 'ImageProvider.load'. ImageStreamCompleter load(CachedNetworkImageProvider key) { ^ /D:/Softwares-Installed/Android_Studio/flutter/packages/flutter/lib/src/painting/image_provider.dart:403:24: Context: This is the overridden method ('load'). ImageStreamCompleter load(T key, DecoderCallback decode); ^ Target kernel_snapshot failed: Exception: Errors during snapshot creation: null build failed.
FAILURE: Build failed with an exception.
-
Where: Script 'D:\Softwares-Installed\Android_Studio\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 780
-
What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'.
Process 'command 'D:\Softwares-Installed\Android_Studio\flutter\bin\flutter.bat'' finished with non-zero exit value 1
Looks like some packages are out of date and hence, some code needs to be modified. Everything was working fine a few months ago. Just look up CachedNetworkImage on pub.dev and make the necessary changes in code.
Yea.. Am on it. Can you upload the other file too??
Solved everything. Now the only file remaining is profileEditForChatScreen.dart! Can you upload that too? Did you upload your API key in that file? Maybe the file is deleted by APIGuard in GitHub.
I've uploaded it now. Thanks for telling me about this.