Add shared_preferences (#15)

This commit is contained in:
Hidenori Matsubayashi
2021-08-03 14:13:04 +09:00
committed by GitHub
parent 6eed119327
commit 50c4792056
24 changed files with 1437 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
# shared\_preferences\_elinux
The eLinux implementation of [`shared_preferences`](https://github.com/flutter/plugins/tree/master/packages/shared_preferences).
## Usage
### pubspec.yaml
```Yaml
dependencies:
shared_preferences_elinux:
git:
url: https://github.com/sony/flutter-elinux-plugins.git
path: packages/shared_preferences
ref: main
```
### Source code
Import `shared_preferences_elinux` in your Dart code:
```Dart
import 'package:shared_preferences_elinux/shared_preferences_elinux.dart';
```