GithubHelp home page GithubHelp logo

santos-enoque / complete_flutter_ecommerce Goto Github PK

View Code? Open in Web Editor NEW
669.0 47.0 422.0 3.85 MB

This repo will contain the backend code and the Ui of the flutter ecommerce app

Java 0.41% Ruby 2.45% Objective-C 0.84% Dart 95.59% Shell 0.71%

complete_flutter_ecommerce's Introduction

Flutter ecommerce

This is a flutter ecommerce app (still under development), and is only the user side of the app, to check the admin side Click here.

Home Screen

Sign in and Sign up Screens

Product details screen

Authors Information

My name is Santos Enoque, I am a flutter and python developer, for more information please check the links bellow.

complete_flutter_ecommerce's People

Contributors

santos-enoque avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

complete_flutter_ecommerce's Issues

Error in home page

════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following assertion was thrown building FeaturedCard(dirty):
'package:flutter/src/widgets/fade_in_image.dart': Failed assertion: line 159 pos 15: 'image != null': is not true.

The relevant error-causing widget was:
FeaturedCard file:///D:/Yolo/yolo/lib/widgets/featured_products.dart:23:22
When the exception was thrown, this was the stack:
#2 new FadeInImage.memoryNetwork (package:flutter/src/widgets/fade_in_image.dart:159:15)
#3 FeaturedCard.build (package:yolo/widgets/featured_card.dart:43:38)
#4 StatelessElement.build (package:flutter/src/widgets/framework.dart:4576:28)
#5 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4502:15)
#6 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
...
════════════════════════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
'package:flutter/src/widgets/fade_in_image.dart': Failed assertion: line 159 pos 15: 'image != null': is not true.
The relevant error-causing widget was:
ProductCard file:///D:/Yolo/yolo/lib/screens/home.dart:188:32
════════════════════════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
'package:flutter/src/widgets/fade_in_image.dart': Failed assertion: line 159 pos 15: 'image != null': is not true.
The relevant error-causing widget was:
ProductCard file:///D:/Yolo/yolo/lib/screens/home.dart:188:32
════════════════════════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
'package:flutter/src/widgets/fade_in_image.dart': Failed assertion: line 159 pos 15: 'image != null': is not true.
The relevant error-causing widget was:
ProductCard file:///D:/Yolo/yolo/lib/screens/home.dart:188:32
════════════════════════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
'package:flutter/src/widgets/fade_in_image.dart': Failed assertion: line 159 pos 15: 'image != null': is not true.
The relevant error-causing widget was:
ProductCard file:///D:/Yolo/yolo/lib/screens/home.dart:188:32
════════════════════════════════════════════════════════════════════════════════════════════════════
Reloaded 6 of 661 libraries in 784ms.
W/ConnectionTracker(18831): Exception thrown while unbinding
W/ConnectionTracker(18831): java.lang.IllegalArgumentException: Service not registered: ls@4dfeaf
W/ConnectionTracker(18831): at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1759)
W/ConnectionTracker(18831): at android.app.ContextImpl.unbindService(ContextImpl.java:1786)
W/ConnectionTracker(18831): at android.content.ContextWrapper.unbindService(ContextWrapper.java:751)
W/ConnectionTracker(18831): at ci.f(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):1)
W/ConnectionTracker(18831): at ci.d(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):2)
W/ConnectionTracker(18831): at lt.E(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):9)
W/ConnectionTracker(18831): at ld.a(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):3)
W/ConnectionTracker(18831): at ef.run(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):3)
W/ConnectionTracker(18831): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
W/ConnectionTracker(18831): at java.util.concurrent.FutureTask.run(FutureTask.java:266)
W/ConnectionTracker(18831): at iy.run(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):5)

ProductCard is throwing error

empty files

the files are empty. It's not complete yet

firebase_auth error

C:\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.11.1+12\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java:9: error: cannot find symbol
import androidx.annotation.NonNull;
^
symbol: class NonNull
location: package androidx.annotation
C:\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.11.1+12\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java:10: error: cannot find symbol
import androidx.annotation.Nullable;
^
symbol: class Nullable
location: package androidx.annotation
C:\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.11.1+12\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java:759: error: cannot find symbol
private void reportException(Result result, @nullable Exception exception) {
^
symbol: class Nullable
location: class FirebaseAuthPlugin
C:\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.11.1+12\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java:668: error: cannot find symbol
public void onComplete(@nonnull Task task) {
^
symbol: class NonNull
location: class FirebaseAuthPlugin.SignInCompleteListener
C:\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.11.1+12\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java:687: error: cannot find symbol
public void onComplete(@nonnull Task task) {
^
symbol: class NonNull
location: class FirebaseAuthPlugin.TaskVoidCompleteListener
C:\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.11.1+12\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java:705: error: cannot find symbol
public void onComplete(@nonnull Task task) {
^
symbol: class NonNull
location: class FirebaseAuthPlugin.GetSignInMethodsCompleteListener
C:\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.11.1+12\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java:540: error: cannot find symbol
public void onComplete(@nonnull Task task) {
^
symbol: class NonNull
C:\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.11.1+12\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java:617: error: cannot find symbol
public void onAuthStateChanged(@nonnull FirebaseAuth firebaseAuth) {
^
symbol: class NonNull
8 errors


The Gradle failure may have been because of AndroidX incompatibilities in this Flutter app.
See https://goo.gl/CP92wY for more information on the problem and how to fix it.


Finished with error: Gradle task assembleDebug failed with exit code 1

Browse without login

Hi @Santos-Enoque !

Great work with the app man and cool Flutter tricks. I was not able to browse the app without login. This is a kind of a bummer!

It would be super cool if users can browse products and login only when they need to buy or something.

If this is not possible yet what's the easiest fix you recommend? I'm working with Divye and together we can enable this and submit a pull request.

Login page is stucked

After installing the application the login page does not allows to proceed further.

build error

File google-services.json is missing. The Google Services Plugin cannot function without it.
Searched Location:
/Users/imac/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-1.0.11/android/src/nullnull/google-services.json
/Users/imac/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-1.0.11/android/src/debug/google-services.json
/Users/imac/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-1.0.11/android/src/nullnullDebug/google-services.json
/Users/imac/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-1.0.11/android/src/nullnull/debug/google-services.json
/Users/imac/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-1.0.11/android/src/debug/nullnull/google-services.json
/Users/imac/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-1.0.11/android/google-services.json

Error when building app

ERROR: [TAG] Failed to resolve variable '${junit.version}'
ERROR: [TAG] Failed to resolve variable '${animal.sniffer.version}'

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:processDebugResources'.

Android resource linking failed
Output: /Users/henry/Downloads/complete_flutter_ecommerce-master/build/app/intermediates/incremental/mergeDebugResources/merged.dir/values-v28/values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found.
/Users/henry/Downloads/complete_flutter_ecommerce-master/build/app/intermediates/incremental/mergeDebugResources/merged.dir/values-v28/values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found.
/Users/henry/Downloads/complete_flutter_ecommerce-master/build/app/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:965: error: resource android:attr/fontVariationSettings not found.
/Users/henry/Downloads/complete_flutter_ecommerce-master/build/app/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:966: error: resource android:attr/ttcIndex not found.
error: failed linking references.

Command: /Users/henry/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.1-4818971-osx.jar/0ceb287d14681b9d1feb04585b426400/aapt2-3.2.1-4818971-osx/aapt2 link -I
/Users/henry/Library/Android/sdk/platforms/android-27/android.jar
--manifest
/Users/henry/Downloads/complete_flutter_ecommerce-master/build/app/intermediates/merged_manifests/debug/processDebugManifest/merged/AndroidManifest.xml
-o
/Users/henry/Downloads/complete_flutter_ecommerce-master/build/app/intermediates/processed_res/debug/processDebugResources/out/resources-debug.ap_
-R
@/Users/henry/Downloads/complete_flutter_ecommerce-master/build/app/intermediates/incremental/processDebugResources/resources-list-for-resources-debug.ap_.txt
--auto-add-overlay
--java
/Users/henry/Downloads/complete_flutter_ecommerce-master/build/app/generated/not_namespaced_r_class_sources/debug/processDebugResources/r
--proguard-main-dex
/Users/henry/Downloads/complete_flutter_ecommerce-master/build/app/intermediates/legacy_multidex_aapt_derived_proguard_rules/debug/processDebugResources/manifest_keep.txt
--custom-package
com.santosenoque.chatapp
-0
apk
--output-text-symbols
/Users/henry/Downloads/complete_flutter_ecommerce-master/build/app/intermediates/symbols/debug/R.txt
--no-version-vectors
Daemon: AAPT2 aapt2-3.2.1-4818971-osx Daemon #0
Output: /Users/henry/.gradle/caches/transforms-1/files-1.1/appcompat-1.0.0-rc01.aar/d999b4130a8ee7c152c9dcb00cddcad0/res/values-v28/values-v28.xml:9:5-12:13: AAPT: error: resource android:attr/dialogCornerRadius not found.

/Users/henry/Downloads/complete_flutter_ecommerce-master/build/app/intermediates/incremental/mergeDebugResources/merged.dir/values-v28/values-v28.xml:11: AAPT: error: resource android:attr/dialogCornerRadius not found.

/Users/henry/.gradle/caches/transforms-1/files-1.1/core-1.0.0.aar/3195e19e05663b84e589a26f6ff3e561/res/values/values.xml:89:5-125:25: AAPT: error: resource android:attr/fontVariationSettings not found.

/Users/henry/.gradle/caches/transforms-1/files-1.1/core-1.0.0.aar/3195e19e05663b84e589a26f6ff3e561/res/values/values.xml:89:5-125:25: AAPT: error: resource android:attr/ttcIndex not found.

error: failed linking references.
Command: /Users/henry/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.1-4818971-osx.jar/0ceb287d14681b9d1feb04585b426400/aapt2-3.2.1-4818971-osx/aapt2 link -I
/Users/henry/Library/Android/sdk/platforms/android-27/android.jar
--manifest
/Users/henry/Downloads/complete_flutter_ecommerce-master/build/app/intermediates/merged_manifests/debug/processDebugManifest/merged/AndroidManifest.xml
-o
/Users/henry/Downloads/complete_flutter_ecommerce-master/build/app/intermediates/processed_res/debug/processDebugResources/out/resources-debug.ap_
-R
@/Users/henry/Downloads/complete_flutter_ecommerce-master/build/app/intermediates/incremental/processDebugResources/resources-list-for-resources-debug.ap_.txt
--auto-add-overlay
--java
/Users/henry/Downloads/complete_flutter_ecommerce-master/build/app/generated/not_namespaced_r_class_sources/debug/processDebugResources/r
--proguard-main-dex
/Users/henry/Downloads/complete_flutter_ecommerce-master/build/app/intermediates/legacy_multidex_aapt_derived_proguard_rules/debug/processDebugResources/manifest_keep.txt
--custom-package
com.santosenoque.chatapp
-0
apk
--output-text-symbols
/Users/henry/Downloads/complete_flutter_ecommerce-master/build/app/intermediates/symbols/debug/R.txt
--no-version-vectors
Daemon: AAPT2 aapt2-3.2.1-4818971-osx Daemon #0

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 1m 27s


The Gradle failure may have been because of AndroidX incompatibilities in this Flutter app.
See https://goo.gl/CP92wY for more information on the problem and how to fix it.


Finished with error: Gradle task assembleDebug failed with exit code 1

Empty files & Gradle issue

Project is not complete and also having below issue, could you please share link of complete project :-

android\gradlew.bat" exited abnormally:

Error while running the cloned app

"This version of cloud_firestore will break your Android build if it or its dependencies aren't compatible with AndroidX.
See https://goo.gl/CP92wY for more information on the problem and how to fix it.
This warning prints for all Android build failures. The real root cause of the error may be unrelated.
"

am getting this error warning message while running the app please suggest me a solution
@Santos-Enoque

Login Error: Unhandled Exception: NoSuchMethodError

If I attempted to login it throws errors in console:

D/FirebaseAuth(14569): Notifying auth state listeners about user ( SnJ6QLfJRpRs6rCB2H05Eclsrtr2 ). E/flutter (14569): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: NoSuchMethodError: The method '[]' was called on null. E/flutter (14569): Receiver: null E/flutter (14569): Tried calling: []("name") E/flutter (14569): #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)

gradle-wrapper.properties error while running flutter

there is an error that occurs while performing flutter run, it says graddle-wrapper.properties version isn't supported anymore. the current version that is supported is gradle-6.5-all.zip

Solution: just go to the android/gradle/wrapper/gradle-wrapper.properties and change the version to the supported version.

Flutter run failed

ProcessException: Process "C:\Users\AstroCoder\Desktop\complete_flutter_ecommerce-master\complete_flutter_ecommerce-master\android\gradlew.bat" exited
abnormally:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.