blob: c0bc6668e3dd98081814de5d966bb630e0a15410 [file] [log] [blame]
name: shared_preferences_example
description: Demonstrates how to use the shared_preferences plugin.
publish_to: none
environment:
sdk: ">=2.14.0 <3.0.0"
flutter: ">=3.0.0"
dependencies:
flutter:
sdk: flutter
shared_preferences_android:
# When depending on this package from a real application you should use:
# shared_preferences_android: ^x.y.z
# See https://dart.dev/tools/pub/dependencies#version-constraints
# The example app is bundled with the plugin so we use a path dependency on
# the parent directory to use the current plugin's version.
path: ../
shared_preferences_platform_interface: ^2.0.0
dev_dependencies:
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
sdk: flutter
flutter:
uses-material-design: true