Baseflow / flutter_cache_manager

Generic cache manager for flutter
https://baseflow.com
MIT License
740 stars 429 forks source link

Operand of null-aware operation #298

Closed PcolBP closed 3 years ago

PcolBP commented 3 years ago

🐛 Bug Report

image

Expected behavior

Just this error in console right after debug or realease install

Reproduction steps

Version: 3.0.0-nullsafety.1

Platform: Android API 29 Haven't tested yet IOS Platform

Flutter Doctor image

PcolBP commented 3 years ago

Solution: after upgrading sqflite to 2.0.0+3 , now getDatabasesPath returns non-nullable String no need to add null-aware operand.

image

In case when sqflite is upgraded and cacheManager stays at nullsafety.1 branch error occur:

image