Giter VIP home page Giter VIP logo

Comments (6)

mcemkilinc avatar mcemkilinc commented on May 20, 2024 3

Latest version gave a different error:
Your Flutter application is created using an older version of the Android embedding. It's being deprecated in favor of Android embedding v2. Follow the steps on
https://flutter.dev/go/android-project-migration to migrate your project.

from flutter_boilerplate_project.

zubairehman avatar zubairehman commented on May 20, 2024

Hi @Errichamonda,
Currently this project only supports mobile. However i will add web support in near future.

Could you please share the error you are getting? Would be helpful for me to quickly fix and update the project.

from flutter_boilerplate_project.

Errichamonda avatar Errichamonda commented on May 20, 2024

The first problem is that SystemChrome.setPreferredOrientations blocks everything but it's an easy fix.

context.dart:117 Uncaught (in promise) RangeError: Maximum call stack size exceeded
    at core$.ReactiveContext.new.get isWithinBatch [as isWithinBatch] (context.dart:117)
    at core$.ReactiveContext.new.conditionallyRunInAction (context.dart:209)
    at theme_store.ThemeStore.new.set [_darkMode] (theme_store.g.dart:23)
    at theme_store.g.dart:24
    at core$.ReactiveContext.new.conditionallyRunInAction (context.dart:211)
    at theme_store.ThemeStore.new.set [_darkMode] (theme_store.g.dart:23)
    at theme_store.g.dart:24
    .
    . (Cutted becuase it was 1000 rows long but it's always the same error)
    .
    .
    at core$.ReactiveContext.new.conditionallyRunInAction (context.dart:211)
    at theme_store.ThemeStore.new.set [_darkMode] (theme_store.g.dart:23)
    at theme_store.g.dart:24
    at core$.ReactiveContext.new.conditionallyRunInAction (context.dart:220)
    at theme_store.ThemeStore.new.set [_darkMode] (theme_store.g.dart:23)
    at theme_store.ThemeStore.new.theme_store._ThemeStore.new (theme_store.dart:21)
    at theme_store.ThemeStore.new._ThemeStore__$36ThemeStore$36.new (theme_store.dart:28)
    at new theme_store.ThemeStore.new (theme_store.dart:28)
    at new main.MyApp.new (main.dart:46)
    at app_component$46inject.AppComponent$Injector.__.[_createMyApp] (app_component.inject.dart:45)
    at app_component$46inject.AppComponent$Injector.__.get app [as app] (app_component.inject.dart:63)
    at main.dart:37
    at _RootZone.runUnary (zone.dart:1381)
    at _FutureListener.then.handleValue (future_impl.dart:139)
    at handleValueCallback (future_impl.dart:680)
    at Function._propagateToListeners (future_impl.dart:709)
    at _Future.new.[_completeWithValue] (future_impl.dart:524)
    at async._AsyncCallbackEntry.new.callback (future_impl.dart:554)
    at Object._microtaskLoop (schedule_microtask.dart:43)
    at _startMicrotaskLoop (schedule_microtask.dart:52)
    at async_patch.dart:168

This is the error I'm getting in the console. Terminal output (where I run flutter run -d chrome) is empty

from flutter_boilerplate_project.

zubairehman avatar zubairehman commented on May 20, 2024

Hi @ALL,

I have added support for the web. Please check out the web-support branch and let me know if you find any issues. Thanks :)

from flutter_boilerplate_project.

mcemkilinc avatar mcemkilinc commented on May 20, 2024

Great,thanks, İ will in a couple of days.

from flutter_boilerplate_project.

zubairehman avatar zubairehman commented on May 20, 2024

coo. Please feel free to re-open the issue.

from flutter_boilerplate_project.

Related Issues (20)

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.