blob: ea3d5d39ae14acd986c0c338f2692e7fba8c6f7d [file] [log] [blame]
name: battery_example
description: Demonstrates how to use the battery plugin.
dependencies:
flutter:
sdk: flutter
battery:
# When depending on this package from a real application you should use:
# battery: ^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:
flutter_driver:
sdk: flutter
integration_test:
path: ../../../integration_test
pedantic: ^1.10.0
flutter:
uses-material-design: true
environment:
sdk: ">=2.12.0-259.9.beta <3.0.0"
flutter: ">=1.12.13+hotfix.5"