blob: a421ca0cf4b4b9dfa2be2c07f85490ee477cb3b2 [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:
# When depending on this package from a real application you should use:
# shared_preferences: ^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: ../
dev_dependencies:
build_runner: ^2.1.10
flutter_driver:
sdk: flutter
flutter_test:
sdk: flutter
integration_test:
sdk: flutter
flutter:
uses-material-design: true