Comments (8)
Did you set useAcrylic
to false
?
from fluent_ui.
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.
This may be due to the Acrylic rework (#47). Can you post your flutter doctor
and the full log please?
from fluent_ui.
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.
I am also getting this error when runnin on the web. On Windows works fine
from fluent_ui.
Any update on this issue?
from fluent_ui.
Not really. This is an issue with the web renderer
from fluent_ui.
This issue is now fixed on version 3.0.0. https://pub.dev/packages/fluent_ui/changelog
from fluent_ui.
Related Issues (20)
- π Wrong number of days for a month in `DatePicker`
- Allow the tab to be customized
- π `NavigationAppBar`'s `automaticallyImplyLeading` behavior is wrong HOT 2
- acrylic navigationview HOT 1
- π `FixedExtentScrollController` scrolling issue in `DatePicker`
- PaneItem and TabView Color HOT 3
- π Invalid font set in theme HOT 1
- How to add a horizontal scrollbar to TreeView, if the space is limited.
- π Handle enter click in a NumberBox and add onEditingComplete event HOT 1
- NumberFormBox doesn't rebuild properly when setState is called
- example no longer compiles on flutter 3.22.0-39.0.pre.2π HOT 1
- π Weird effect when a ComboBox is inside a SizedBox HOT 3
- πIn the document, there is a bug in the source code of the AutoSuggestBox component.
- What is the purpose of the generated_plugin_registrant.dart file in the example/lib path and how it was generated HOT 3
- Ability to add common interactive implementations for multi-window applications HOT 1
- [Feature Request] Support disabled `MenuFlyoutItem` HOT 1
- Use `WidgetStateProperty` instead of `ButtonState`
- A lot of animations feel laggy and incomplete HOT 1
- π Scrollbar, disappear when the mouse is not over HOT 1
- Support `onChange` method for `DropDownButton`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluent_ui.