PhilipsHue / flutter_reactive_ble

Flutter library that handles BLE operations for multiple devices.
https://developers.meethue.com/
Other
661 stars 321 forks source link

Example app not working #855

Closed zemmyang closed 5 months ago

zemmyang commented 5 months ago

Downloaded the repo just now, opened the example folder as an Android Studio project, tried to compile, got this error:

lib/src/ui/device_detail/device_detail_screen.dart:33:41: Error: The method 'PopScope' isn't defined for the class '_DeviceDetail'.
 - '_DeviceDetail' is from 'package:flutter_reactive_ble_example/src/ui/device_detail/device_detail_screen.dart' ('lib/src/ui/device_detail/device_detail_screen.dart').
Try correcting the name to the name of an existing method, or defining a method named 'PopScope'.
  Widget build(BuildContext context) => PopScope(
                                        ^^^^^^^^
Taym95 commented 5 months ago

Our CI build the app and it is working, please update your flutter version