Open bikcrum opened 3 years ago
This is the minimal fix for typecasting error caused in null safety mode.
<Widget?>[....].where((a) => a != null).toList() as List<Widget> // causes type 'List<Widget?>' is not a subtype of type 'List<Widget>' in type cast
<Widget?>[....].where((a) => a != null).whereType<Widget>().toList()
Effective line numbers: [435-437], [600-620]
is it ready to use at production ?
@Dn-a can this be merged?
Description
This is the minimal fix for typecasting error caused in null safety mode.
Implementation:
Issue:
Fix:
Effective line numbers: [435-437], [600-620]
Related Issues
69 #70 #71 #72