fix(battery_plus): Fix type conversion #427
battery_plus.yaml
on: pull_request
Dart Analyzer
1m 8s
android_example_build
4m 48s
ios_example_build
2m 56s
ios_integration_test
8m 5s
macos_example_build
2m 7s
macos_integration_test
0s
linux_example_build
1m 30s
linux_integration_test
1m 28s
windows_example_build
2m 53s
windows_integration_test
2m 47s
web_example_build
1m 17s
Matrix: android_integration_test
Annotations
2 errors, 1 warning, and 2 notices
android_integration_test (34)
0 tests passed, 1 failed.
|
android_integration_test (34)
The process '/bin/sh' failed with exit code 1
|
ios_integration_test
More than one (5) device matching requirements (os:[] os_version:[] model:[iPhone 15]) have been found.
|
Don't use 'BuildContext's across async gaps.:
packages/battery_plus/battery_plus/example/lib/main.dart#L83
Try rewriting the code to not use the 'BuildContext', or guard the use with a 'mounted' check.
See https://dart.dev/diagnostics/use_build_context_synchronously to learn more about this problem.
|
Don't use 'BuildContext's across async gaps.:
packages/battery_plus/battery_plus/example/lib/main.dart#L107
Try rewriting the code to not use the 'BuildContext', or guard the use with a 'mounted' check.
See https://dart.dev/diagnostics/use_build_context_synchronously to learn more about this problem.
|