shared_preferences@2.3.0
Flutter plugin for reading and writing simple key-value pairs. Wraps NSUserDefaults on iOS and SharedPreferences on Android.
2024-07-30
安装 (2.3.0)
dart pub add shared_preferences@2.3.0
flutter pub add shared_preferences@2.3.0
dependencies:
shared_preferences: 2.3.0
依赖
| 包名 | 版本约束 |
|---|---|
| flutter | map[sdk:flutter] |
| shared_preferences_android | ^2.3.0 |
| shared_preferences_foundation | ^2.5.0 |
| shared_preferences_linux | ^2.4.0 |
| shared_preferences_platform_interface | ^2.4.0 |
| shared_preferences_web | ^2.4.0 |
| shared_preferences_windows | ^2.4.0 |
开发依赖
| 包名 | 版本约束 |
|---|---|
| flutter_test | map[sdk:flutter] |
| integration_test | map[sdk:flutter] |
版本列表
2.5.5
2026-03-25
2.5.4
2025-12-09
2.5.3
2025-03-27
2.5.2
2025-02-10
2.5.1
2025-01-30
2.5.0
2025-01-30
2.4.0
2025-01-24
2.3.5
2025-01-02
2.3.4
2024-12-18
2.3.3
2024-11-09
2.3.2
2024-08-15
2.3.1
2024-08-01
2.3.0
2024-07-30
2.2.3
2024-04-11
2.2.2
2023-10-10
2.2.1
2023-08-30
2.2.0
2023-06-30
2.1.2
2023-06-08
2.1.1
2023-05-08
2.1.0
2023-03-31
2.0.20
2023-03-21
2.0.18
2023-02-22
2.0.17
2023-01-20
2.0.16
2023-01-12
2.0.15
2022-05-11
2.0.14
2022-05-10
2.0.13
2022-02-04
2.0.12
2022-01-10
2.0.11
2021-12-10
2.0.10
2021-12-09
2.0.9
2021-11-19
2.0.8
2021-09-17
2.0.7
2021-08-23
2.0.6
2021-05-25
2.0.5
2021-03-16
2.0.4
2021-03-10
2.0.3
2021-03-02
2.0.2
2021-03-02
2.0.1
2021-02-25
2.0.0
2021-02-23
2.0.0-nullsafety.1
2021-02-18
2.0.0-nullsafety
2021-02-09
0.5.12
2020-09-23
0.5.11
2020-09-22
0.5.10
2020-08-22
0.5.8
2020-07-08
0.5.7
2020-04-21
0.5.6
2019-12-11
0.5.5
2019-12-10
0.5.4
2019-10-22
0.5.3
2019-05-31
0.5.2
2019-04-09
0.5.0
2019-01-24
0.5.7+3
2020-05-21
0.5.7+2
2020-05-12
0.5.7+1
2020-05-06
0.5.6+3
2020-03-10
0.5.6+2
2020-02-20
0.5.6+1
2020-01-23
0.5.4+9
2019-12-10
0.5.4+8
2019-12-03
0.5.4+6
2019-11-25
0.5.4+5
2019-11-13
0.5.4+3
2019-10-28
0.5.4+1
2019-10-25
0.5.3+5
2019-10-16
0.5.3+4
2019-07-16
0.5.3+3
2019-07-16
0.5.3+2
2019-07-08
0.5.3+1
2019-06-04
0.5.2+2
2019-05-30
0.5.2+1
2019-05-22
0.5.12+4
2020-11-03
0.5.12+2
2020-10-14
0.5.1+2
2019-03-15
0.5.1+1
2019-02-08
0.4.3
2018-10-01
0.4.2
2018-06-01
0.4.1
2018-04-09
0.4.0
2018-03-09
0.3.3
2018-02-28
0.3.2
2018-02-05
0.3.1
2018-01-12
0.3.0
2017-12-20
0.2.5
2017-08-30
0.2.4
2017-06-05
0.2.3
2017-06-03
0.2.0
2017-05-11
0.2.4+1
2017-06-05
0.2.0+1
2017-05-17
0.1.1
2017-05-09