blob: 663e22959a25a4c6a587a8c56d1423d2c0e3fa4b [file] [log] [blame]
name: shared_preferences_example
description: Demonstrates how to use the shared_preferences plugin.
publish_to: none
environment:
sdk: ">=2.17.0 <4.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