Open guerramatias1409 opened 3 years ago
I'm trying to make a dropdown to filter items of a custom class, but I get this error in the displayItemFn method 'type '(MyClass?) => Text' is not a subtype of type '(dynamic) => Widget''
I too faced the same error. Though I specify the type of my list, it asks me to provide it as dynamic.
I'm trying to make a dropdown to filter items of a custom class, but I get this error in the displayItemFn method 'type '(MyClass?) => Text' is not a subtype of type '(dynamic) => Widget''