Coder Social home page Coder Social logo

Comments (8)

bdlukaa avatar bdlukaa commented on June 26, 2024

Did you set useAcrylic to false?

from fluent_ui.

maik-kluwe avatar maik-kluwe commented on June 26, 2024

I searched where i could set it.

But the only place i found was in NavigationView. With the release of 2.2.0 the property cannot be set anymore.

The error occures, when the displayMode of NavigationView changes from compact to open.

from fluent_ui.

bdlukaa avatar bdlukaa commented on June 26, 2024

This may be due to the Acrylic rework (#47). Can you post your flutter doctor and the full log please?

from fluent_ui.

maik-kluwe avatar maik-kluwe commented on June 26, 2024

Sure can i :)

flutter doctor:

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.2.2, on Microsoft Windows [Version 10.0.19043.1052], locale de-DE)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Professional 2019 16.8.5)
[√] Android Studio (version 4.1.0)
[√] VS Code, 64-bit edition (version 1.57.1)
[√] Connected device (3 available)

β€’ No issues found!

=====================================================

Log:

Launching lib\main.dart on Chrome in debug mode...
This app is linked to the debug service: ws://127.0.0.1:58637/IJctiNEGjwg%3D/ws
Debug service listening on ws://127.0.0.1:58637/IJctiNEGjwg=/ws
 Running with sound null safety
Connecting to VM Service at ws://127.0.0.1:58637/IJctiNEGjwg=/ws

════════ Exception caught by rendering library ═════════════════════════════════
The following TypeErrorImpl was thrown during paint():
Expected a value of type 'SkDeletable', but got one of type 'Null'

The relevant error-causing widget was
NavigationView
When the exception was thrown, this was the stack
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 236:49  throw_
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 84:3    castError
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/types.dart 266:34   as
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/canvaskit/skia_object_cache.dart 146:55    new
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/canvaskit/color_filter.dart 16:3           new
...
The following RenderObject was being processed when the exception was fired: RenderCustomPaint#82357 relayoutBoundary=up5
RenderObject: RenderCustomPaint#82357 relayoutBoundary=up5
    needs compositing
    parentData: <none> (can use size)
    constraints: BoxConstraints(0.0<=w<=1329.0, 0.0<=h<=932.0)
    size: Size(40.0, 932.0)
    child: RenderCustomPaint#feddd relayoutBoundary=up6 NEEDS-PAINT
        needs compositing
        parentData: <none> (can use size)
        constraints: BoxConstraints(0.0<=w<=1329.0, 0.0<=h<=932.0)
        size: Size(40.0, 932.0)
        child: _RenderInkFeatures#4bec5 relayoutBoundary=up7 NEEDS-PAINT
            needs compositing
            parentData: <none> (can use size)
            constraints: BoxConstraints(0.0<=w<=1329.0, 0.0<=h<=932.0)
            size: Size(40.0, 932.0)
            child: RenderConstrainedBox#8e198 relayoutBoundary=up8 NEEDS-PAINT
                needs compositing
                parentData: <none> (can use size)
                constraints: BoxConstraints(0.0<=w<=1329.0, 0.0<=h<=932.0)
                size: Size(40.0, 932.0)
                additionalConstraints: BoxConstraints(w=40.0, 0.0<=h<=Infinity)
                child: RenderCustomPaint#65b10 relayoutBoundary=up9 NEEDS-PAINT
                    needs compositing
                    parentData: <none> (can use size)
                    constraints: BoxConstraints(w=40.0, 0.0<=h<=932.0)
                    size: Size(40.0, 932.0)
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
Expected a value of type 'SkDeletable', but got one of type 'Null'
The relevant error-causing widget was
NavigationView
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
Expected a value of type 'SkDeletable', but got one of type 'Null'
The relevant error-causing widget was
NavigationView
════════════════════════════════════════════════════════════════════════════════
...(repeating error)

from fluent_ui.

bdlukaa avatar bdlukaa commented on June 26, 2024

I am also getting this error when runnin on the web. On Windows works fine

from fluent_ui.

parikh20 avatar parikh20 commented on June 26, 2024

Any update on this issue?

from fluent_ui.

bdlukaa avatar bdlukaa commented on June 26, 2024

Not really. This is an issue with the web renderer

from fluent_ui.

bdlukaa avatar bdlukaa commented on June 26, 2024

This issue is now fixed on version 3.0.0. https://pub.dev/packages/fluent_ui/changelog

from fluent_ui.

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.