Giter Club home page Giter Club logo

Comments (4)

joe-getcouragenow avatar joe-getcouragenow commented on July 4, 2024

anyone else got this working ?

Otherwise will fork and send PR back

from feedback.

joe-getcouragenow avatar joe-getcouragenow commented on July 4, 2024

Error is:

org-dartlang-sdk:///flutter_web_sdk/lib/_engine/engine/html/scene_builder.dart:92:16
matrix4[0] == window.devicePixelRatio &&
           matrix4[5] == window.devicePixelRatio
is not true
    at Object.throw_ [as throw] (http://localhost:63054/dart_sdk.js:4339:11)
    at Object.assertFailed (http://localhost:63054/dart_sdk.js:4282:15)
    at _engine.SurfaceSceneBuilder.new.pushTransform
    (http://localhost:63054/dart_sdk.js:156899:133)
    at layer$.OffsetLayer.new.toImage
    (http://localhost:63054/packages/flutter/src/rendering/layer.dart.lib.js:1631:17)
    at toImage.next (<anonymous>)
    at runBody (http://localhost:63054/dart_sdk.js:37699:34)
    at Object._async [as async] (http://localhost:63054/dart_sdk.js:37730:7)
    at layer$.OffsetLayer.new.toImage
    (http://localhost:63054/packages/flutter/src/rendering/layer.dart.lib.js:1625:20)
    at proxy_box.RenderRepaintBoundary.new.toImage
    (http://localhost:63054/packages/flutter/src/rendering/proxy_box.dart.lib.js:3222:26)
    at screenshot.ScreenshotController.new.<anonymous>
    (http://localhost:63054/packages/feedback/src/screenshot.dart.lib.js:82:43)
    at Generator.next (<anonymous>)
    at runBody (http://localhost:63054/dart_sdk.js:37699:34)
    at Object._async [as async] (http://localhost:63054/dart_sdk.js:37730:7)
    at http://localhost:63054/packages/feedback/src/screenshot.dart.lib.js:79:70
    at http://localhost:63054/dart_sdk.js:32076:33
    at internalCallback (http://localhost:63054/dart_sdk.js:23835:11)

from feedback.

ueman avatar ueman commented on July 4, 2024

Has anyone of you tried this with flutter build web --web-renderer canvaskit?
I could imagine that it will work, but I haven't tried it, as I am not a user of Flutter for web.

See https://flutter.dev/docs/development/tools/web-renderers for further details.

from feedback.

ueman avatar ueman commented on July 4, 2024

Flutter for Web is supported in version 1.1.0.

from feedback.

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.