Code Monkey home page Code Monkey logo

Comments (15)

48miles avatar 48miles commented on September 18, 2024 14

remove

if (_dataListInherited!.list!.length < _dataListInherited!.itemCount!)
_dataListInherited!.list!.length = _dataListInherited!.itemCount!;

and rerun your app. it worked for me.

from flutter_tags.

bapm91 avatar bapm91 commented on September 18, 2024 3

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.

xarmatura avatar xarmatura commented on September 18, 2024 1

@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.

zhoupenglei avatar zhoupenglei commented on September 18, 2024

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.

SeriousMonk avatar SeriousMonk commented on September 18, 2024

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.

 avatar commented on September 18, 2024

Same here

from flutter_tags.

topilski avatar topilski commented on September 18, 2024

Same

from flutter_tags.

davidp918 avatar davidp918 commented on September 18, 2024

Same

from flutter_tags.

mrruby avatar mrruby commented on September 18, 2024

Any news about that?

from flutter_tags.

oddmentiusmaximus avatar oddmentiusmaximus commented on September 18, 2024

if (_dataListInherited!.list!.length < _dataListInherited!.itemCount!)
_dataListInherited!.list!.length = _dataListInherited!.itemCount!;
commenting this out worked , can we update this

from flutter_tags.

BachirBichri avatar BachirBichri commented on September 18, 2024

Any news on this?

from flutter_tags.

hoctrinh avatar hoctrinh commented on September 18, 2024

Pls fix it. Thanks.

from flutter_tags.

szuwest avatar szuwest commented on September 18, 2024

same here

from flutter_tags.

rengert avatar rengert commented on September 18, 2024

same here, would be great to get an update

from flutter_tags.

tony123S avatar tony123S commented on September 18, 2024

same!

from flutter_tags.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.