Skip to content

Commit 5c17c70

Browse files
jiahaogyash1200
authored andcommitted
Rebase previous commits (flutter#2966)
* [battery] Fixed typo in README.md (flutter#2944) * [integration_test] Remove debugging statement (flutter#2963) Co-authored-by: Yash Johri <yashjohri1200@gmail.com>
1 parent 2eac0c9 commit 5c17c70

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

packages/battery/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.0.4
2+
3+
* Updated README.md.
4+
15
## 1.0.3
26

37
* Update package:e2e to use package:integration_test

packages/battery/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ To use this plugin, add `battery` as a [dependency in your pubspec.yaml file](ht
1414
import 'package:battery/battery.dart';
1515
1616
// Instantiate it
17-
var battery = Battery();
17+
var _battery = Battery();
1818
1919
// Access current battery level
20-
print(await battery.batteryLevel);
20+
print(await _battery.batteryLevel);
2121
2222
// Be informed when the state (full, charging, discharging) changes
2323
_battery.onBatteryStateChanged.listen((BatteryState state) {

packages/battery/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: battery
22
description: Flutter plugin for accessing information about the battery state
33
(full, charging, discharging) on Android and iOS.
44
homepage: https://github.com/flutter/plugins/tree/master/packages/battery
5-
version: 1.0.3
5+
version: 1.0.4
66

77
flutter:
88
plugin:

packages/integration_test/lib/integration_test.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ class IntegrationTestWidgetsFlutterBinding
2222
IntegrationTestWidgetsFlutterBinding() {
2323
// TODO(jackson): Report test results as they arrive
2424
tearDownAll(() async {
25-
print('TESTING123: TEARING HER DOWN');
2625
try {
2726
// For web integration tests we are not using the
2827
// `plugins.flutter.io/integration_test`. Mark the tests as complete

0 commit comments

Comments
 (0)