mateusfccp / prototype_constrained_box Goto Github PK
View Code? Open in Web Editor NEWA ConstrainedBox-like widget, but the constraints are given by another widget.
License: MIT License
A ConstrainedBox-like widget, but the constraints are given by another widget.
License: MIT License
Hello,
I have used this library on a project and when I try to open Flutter Dev Tools > Flutter Inspector I am getting the following exception:
======== Exception caught by Flutter framework =====================================================
The following assertion was thrown during a service extension callback for "ext.flutter.inspector.getRootWidgetSummaryTreeWithPreviews":
'package:flutter/src/foundation/diagnostics.dart': Failed assertion: line 2091 pos 15: 'ifTrue != null || ifFalse != null': is not true.
When the exception was thrown, this was the stack:
#2 new FlagProperty (package:flutter/src/foundation/diagnostics.dart:2091:15)
#3 PrototypeConstrainedBox.debugFillProperties (package:prototype_constrained_box/src/widget.dart:115:20)
#4 Element.debugFillProperties (package:flutter/src/widgets/framework.dart:4958:14)
#5 RenderObjectElement.debugFillProperties (package:flutter/src/widgets/framework.dart:6622:11)
#6 DiagnosticableNode.builder.<anonymous closure> (package:flutter/src/foundation/diagnostics.dart:2856:17)
#7 DiagnosticableNode.builder (package:flutter/src/foundation/diagnostics.dart:2859:8)
#8 DiagnosticableNode.emptyBodyDescription (package:flutter/src/foundation/diagnostics.dart:2870:77)
#9 DiagnosticsNode.toJsonMap.<anonymous closure> (package:flutter/src/foundation/diagnostics.dart:1617:13)
...
<asynchronous suspension>
#786 _runExtension.<anonymous closure> (dart:developer-patch/developer.dart:112:11)
<asynchronous suspension>
(elided 2 frames from class _AssertionError)
Based on code analysis I was able to determine that the issue is caused by invoking FlagProperty
without providing ifTrue
or ifFalse
parameters. This happens in package:prototype_constrained_box/src/widget.dart:115:20
.
Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.