Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/piedcipher/flutterweb-localstorage-example
Example for my write-up on "Harnessing the power of localStorage API in Flutter Web App."
https://github.com/piedcipher/flutterweb-localstorage-example
dart dartlang flutter flutterweb localstorage localstorage-api
Last synced: 9 days ago
JSON representation
Example for my write-up on "Harnessing the power of localStorage API in Flutter Web App."
- Host: GitHub
- URL: https://github.com/piedcipher/flutterweb-localstorage-example
- Owner: piedcipher
- Created: 2019-09-07T09:10:33.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-08T13:36:34.000Z (over 5 years ago)
- Last Synced: 2024-10-19T00:37:46.046Z (2 months ago)
- Topics: dart, dartlang, flutter, flutterweb, localstorage, localstorage-api
- Language: Dart
- Homepage: https://link.medium.com/0xxijLpGOZ
- Size: 179 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flutter Web LocalStorage Example
Example code for my write-up ["Harnessing the power of localStorage API in Flutter Web App"](https://link.medium.com/0xxijLpGOZ). It uses [window.localStorage](https://api.dartlang.org/stable/2.5.0/dart-html/Storage-class.html) API for persisting [brightness](https://api.flutter.dev/flutter/material/ThemeData/brightness.html) property of [ThemeData](https://api.flutter.dev/flutter/material/ThemeData-class.html).### Live Demo
[App :rocket:](http://flutterweb-localstorage-example.surge.sh/)![](https://i.imgur.com/OhiMpUL.gif)
### Development Tools
- [Dart](https://dart.dev)
- [Flutter Web](https://flutter.dev/web)### Setup
```
$ git clone https://github.com/piedcipher/flutterweb-localStorage-example.git
$ cd flutterweb-localStorage-example/
$ pub get
$ pub global active webdev
$ webdev serve
```### Blog post
[Link :newspaper:](https://link.medium.com/0xxijLpGOZ)