Open sarbogast opened 3 years ago
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!;
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.
Same here
Same
Same
remove
if (_dataListInherited!.list!.length < _dataListInherited!.itemCount!) _dataListInherited!.list!.length = _dataListInherited!.itemCount!;
and rerun your app. it worked for me.
Any news about that?
if (_dataListInherited!.list!.length < _dataListInherited!.itemCount!) _dataListInherited!.list!.length = _dataListInherited!.itemCount!; commenting this out worked , can we update this
Any news on this?
@sarbogast @Dn-a Same, it showstopper, could you please check?
Update Flutter has already a native widget Chip or ActionChip
Pls fix it. Thanks.
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
same here
same here, would be great to get an update
same!
I'm trying to integrate this library into my project and I want to let users choose items from a list or add their own items to it. Here is what I have so far:
But when I start typing one of the _existingTopics and then type the submit button on the iOS keyboard, I see this:
And I get the following exception:
And the component crashes. Did I forget something?
Note that I am using Flutter 2.0.5 with null safety, along with version 1.0.0-nullsafety.1 of the flutter_tags library