data_save 0.4.2
data_save: ^0.4.2 copied to clipboard
datasave for flutter and flutter web
0.4.0 #
- Migrated the web implementation from deprecated
dart:htmlAPIs topackage:web. - Added JavaScript and WebAssembly-compatible platform selection.
- Safely encode cookie names and values, including Unicode and delimiters.
- Use host-only cookies with
SameSite=LaxandSecureon HTTPS. - Detect rejected and oversized cookies instead of failing silently.
- Return
nullfor missing or invalid typed values consistently. - Made
DataSave.removeAll()awaitable. - Added
setLargeString()andgetLargeString()usinglocalStorageon web with an in-memory fallback. - Added
remove()for clearing the same key from both web storage modes andremoveAllLarge()for clearing large-string storage. removeAll()now clears both cookies and alllocalStoragevalues on web; large-string methods reuse the normal storage on native platforms.- Increased the minimum supported Dart SDK to 3.13.
0.3.6 #
- Improved Flutter and Flutter Web compatibility.
0.0.1 #
- Initial release.