Closed Maclaon closed 4 years ago
even i use two different widgets, it was still not working! it is weird!
hi @Maclaon, have you tried to define a key? example:
Tags( key: Key( 'tags1'), ...)
Tags( key: Key('tags2'), ...)
hi @Maclaon, have you tried to define a key? example:
Tags( key: Key( 'tags1'), ...)
Tags( key: Key('tags2'), ...)
Oh!, sorry, my problem, the two widgets has same key
! i will give it a try~
@Dn-a hi, when set different key in Tags
it was still not working, and the second Tags
error when i click on it is follow:
The following NoSuchMethodError was thrown while handling a gesture:
The getter 'active' was called on null.
Receiver: null
Tried calling: active
When the exception was thrown, this was the stack
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
#1 _ItemTagsState._singleItem.<anonymous closure>
package:flutter_tags/src/item_tags.dart:438
#2 WhereIterator.moveNext (dart:_internal/iterable.dart:442:13)
#3 WhereIterator.moveNext (dart:_internal/iterable.dart:441:22)
#4 Iterable.forEach (dart:core/iterable.dart:283:23)
when i scrolled the tags two the end, it works, but it still exists when i reentry that widget!
@Dn-a can u take a glance at this issue! i appreciate~
@Maclaon I have to do some tests
@Dn-a hi~ buddy, i am looking forward to your answer!
when i click the tags in first
SelectTags
, it working, but not working in secondSelectTags
!