Comments (15)
remove
if (_dataListInherited!.list!.length < _dataListInherited!.itemCount!)
_dataListInherited!.list!.length = _dataListInherited!.itemCount!;
and rerun your app. it worked for me.
from flutter_tags.
commented this don't worked for me.
if (_dataListInherited!.list!.length < _dataListInherited!.itemCount!)
_dataListInherited!.list!.length = _dataListInherited!.itemCount!;
I changed final List<DataList> _list = [];
to final List<DataList?> _list = [];
and correct the errors that follow from here
It's worked
from flutter_tags.
@sarbogast @Dn-a Same, it showstopper, could you please check?
#84 Merge maybe or give me an answer, please
Update
Flutter has already a native widget Chip or ActionChip
from flutter_tags.
type 'Null' is not a subtype of type 'DataList' in type cast
item_tags.dart
151 line
// set List length
if (_dataListInherited!.list!.length < _dataListInherited!.itemCount!)
_dataListInherited!.list!.length = _dataListInherited!.itemCount!;
from flutter_tags.
I am also getting the same error. It worked just fine before migrating to null safety.
The error is thrown for each ItemTags element built. If the list is empty no error is thrown.
from flutter_tags.
Same here
from flutter_tags.
Same
from flutter_tags.
Same
from flutter_tags.
Any news about that?
from flutter_tags.
if (_dataListInherited!.list!.length < _dataListInherited!.itemCount!)
_dataListInherited!.list!.length = _dataListInherited!.itemCount!;
commenting this out worked , can we update this
from flutter_tags.
Any news on this?
from flutter_tags.
Pls fix it. Thanks.
from flutter_tags.
same here
from flutter_tags.
same here, would be great to get an update
from flutter_tags.
same!
from flutter_tags.
Related Issues (20)
- Can I set a different color for each tag?
- Preserve the scroll position between tabs (so, after a widget rebuid) HOT 4
- Allow deselection of a tag when singleItem is true HOT 2
- Programatically select a tag during build and trigger onPressed event HOT 7
- Add possibility to pass textController HOT 2
- Custom Validation while inserting Tags
- Override default onPressed callback
- Keep focus after submit HOT 3
- Several Issues, and feature request HOT 3
- Tags' is defined in the libraries 'package:flutter_tags/src/tags.dart
- Add support for null-safety HOT 2
- There is no way to change the tag inActive color HOT 1
- No automatic scrolling into the right after adding a new tag
- Too many errors in the new null safety version, corrected some but please correct all and republish HOT 2
- Null safe Alternative HOT 1
- expose textfield controller
- Upgrade to Flutter 3 HOT 1
- Is it possible to customize close button place?
- Is this package deprecated? 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 flutter_tags.