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)
- How can I change the background color of NavigationView? HOT 1
- Cannot generate localization files π
- Add more gestures for TreeViewItem HOT 4
- π The parameter 'clipboardStatus' of the method '_FluentTextSelectionControls.buildToolbar' has type 'ClipboardStatusNotifier?' HOT 3
- Microsoft Store like NavigationPaneItems HOT 2
- Does AutoSuggestBox support regular matching? HOT 1
- Save state of the widgets in the NavigationPane HOT 3
- π PaneItemExpander error "A FlyoutController was used after being disposed". HOT 5
- π NavigationView appBar is null
- NavigationPaneExpander Items, ontap doesnt trigger when flyout. HOT 2
- π AutoSuggestBox used on a null value HOT 1
- RadioButton and CheckBox disabled text HOT 2
- NumberFormBox HOT 1
- Expand PaneItemExpander by default?
- π Fluent UI 4.6.2 breaks under Flutter 3.12.0-8.0.pre.21 HOT 4
- π cannot use "fluentui_system_icons" package with this package HOT 2
- NavigationPaneSize is not woking when displayMode is PaneDisplayMode.minimal
- [AutoSuggestBox] Item Builder HOT 1
- π PaneItemExpander unwant result HOT 5
- Either pane or content must be providedπ HOT 1
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.