GithubHelp home page GithubHelp logo

alaaelsweedy / supershop Goto Github PK

View Code? Open in Web Editor NEW
21.0 1.0 3.0 2.87 MB

E-commerce app built on Flutter Framework with Restful API, Freezed, Clean Architecture and Bloc as State-Management.

Kotlin 0.02% Swift 0.29% Objective-C 0.01% Dart 92.35% CMake 2.98% C++ 3.54% C 0.23% HTML 0.41% JavaScript 0.03% CSS 0.14%
api bloc clean-architecture dart flutter flutter-apps freezed

supershop's People

Contributors

alaaelsweedy avatar

Stargazers

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

Watchers

 avatar

supershop's Issues

splash screen to black screen

Hi,
I'm learning dart and flutter with an interest in clean architecture. For this reason, I'm testing and trying to understand existing apps, which led me to download SuperShop as a zip file and to open with Android Studio.
I would like to take advantage of this message to thank you for having shared your SuperShop app code.

I've notice a few updates which I could address such as

  • In lib/core/components/custom_app_bar.dart, 'the class 'PreferredSizeWidget' can't be used as a mixin because it's neither a mixin class nor a mixin' led to replace with by implements.
  • in main.dart,
    * isDark ?? false; became isDark ??= false;
    * I've uncommented the dataLanguage section, and replaced ?? by ??=
  • In test/widget_test.dart, 'A value of type 'Null' can't be assigned to a parameter of type 'Widget' in a const constructor.' led to replace
    await tester.pumpWidget(const MyApp());
    by
     await tester.pumpWidget(MyApp(
        startWidget: HomeScreen(),
        isDark: true,
        language: 'en',
     ));

The app starts apparently fine, there are neither warnings nor error messages, the splash screen pops up and is removed but nothing else happens. I touch my phone screen and then on the console I read the following lines

I/ViewRootImpl@32b5226MainActivity: ViewPostIme pointer 0
I/ViewRootImpl@32b5226MainActivity: ViewPostIme pointer 1

It is as if the app was going through

     runApp(
        initialLocalization(
            child: MyApp(
          ...
        )),
      );

just fine but was not landing on any relevant screen.

That said I could not identify the issue and a fix, so that I would welcome any suggestion.

Many Thanks & Best Wishes
PAscal

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.