DartPad localStorage code example
Example: DartPad localStorage
[Chrome]: if third-party cookies are disabled:
> Parameters > Privacy and security > Cookies and other site data >
Add allowed site (dartpad.dev, dart.dev, flutter.dev...)
check "Allow third-party cookies from this site"