Comments (2)
Thank you for bringing this side effect of the API change to my attention.
It was definitely not my intention to change the ResponsiveVisibility API in this way. This new usage is much more awkward and bad.
Conditions now require a value to support nullability inheritance. Without requiring the value, the library cannot infer the nullability.
I wonder what can be done here? 🥶
from responsiveframework.
The issue was a Dart language limitation that did not support generic type nullability. With the latest Flutter v3.19, nullable generic types now flow through correctly and the awkwardness can be removed.
We're back to the original API where a constant condition can be passed without forcibly attaching a value!
from responsiveframework.
Related Issues (20)
- nonexistent breakpoint on migration from 0.2.0 -> 1.1.1 HOT 1
- When breakpointsLandscape is defined, it will always ignore breakpoints. HOT 1
- [Feature Request]
- [BUGS] Button in ResponsiveRowColumnItem cannot expanded HOT 2
- ResponsiveScaledBox in showDialog does not work properly
- Can we use the new version with GetX package?
- Error when using ReorderableListView inside ResponsiveScaledBox ( v1.1.1 and below) HOT 3
- User finger resize
- Font getting squeezed on iPhone 11 with iOS 16.0
- GoogleMap marker's tap area is misplaced on the web
- ResponsiveWrapper is not working HOT 3
- ResponsiveVisibility error HOT 2
- withNoTextScaling not working in letest version HOT 4
- Error null when defaultValue on ResponsiveValue not specified HOT 2
- type 'Null' is not a subtype of type 'double' in type cast HOT 2
- Positioning Issue with Draggable Widget HOT 5
- ResponsiveFramework + EasyLoading in builder
- WebView is not clickable when ResponsiveScaledBox is in place HOT 10
- Check if responsiveBreakpointsData has changed
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 responsiveframework.