Skip to content

Conversation

@pythoneer
Copy link

This should close issue #70. the usage of .where((a) => a != null).toList() as List<Widget> does not work. with the filter of where you still end up with Widget? where non of them is null but you can't just cast List<T?> to List<T> that are not related types. Looks like there is a specific function for that whereType with a type parameter that can go from T?to T.

@pythoneer
Copy link
Author

sorry i did not really test this and didn't see that there already is a pull request solving this here #69

closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant