From 81720d6b47e9cc333c5e3127e4ee1e442f4a8788 Mon Sep 17 00:00:00 2001 From: Sam Rawlins Date: Wed, 7 Jan 2026 11:27:57 -0800 Subject: [PATCH] Remove stray override annotations The `@override` annotation is not applicable on top-level functions. The analyzer will begin to report misplaced `@override` annotations such as these soon. --- packages/sensors_plus/sensors_plus/lib/sensors_plus.dart | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/sensors_plus/sensors_plus/lib/sensors_plus.dart b/packages/sensors_plus/sensors_plus/lib/sensors_plus.dart index 5739bb8f8b..c040b2fb14 100644 --- a/packages/sensors_plus/sensors_plus/lib/sensors_plus.dart +++ b/packages/sensors_plus/sensors_plus/lib/sensors_plus.dart @@ -35,7 +35,6 @@ Stream get magnetometerEvents { /// Returns a broadcast stream of events from the device accelerometer at the /// given sampling frequency. -@override Stream accelerometerEventStream({ Duration samplingPeriod = SensorInterval.normalInterval, }) { @@ -44,7 +43,6 @@ Stream accelerometerEventStream({ /// Returns a broadcast stream of events from the device gyroscope at the /// given sampling frequency. -@override Stream gyroscopeEventStream({ Duration samplingPeriod = SensorInterval.normalInterval, }) { @@ -53,7 +51,6 @@ Stream gyroscopeEventStream({ /// Returns a broadcast stream of events from the device accelerometer with /// gravity removed at the given sampling frequency. -@override Stream userAccelerometerEventStream({ Duration samplingPeriod = SensorInterval.normalInterval, }) { @@ -62,7 +59,6 @@ Stream userAccelerometerEventStream({ /// Returns a broadcast stream of events from the device magnetometer at the /// given sampling frequency. -@override Stream magnetometerEventStream({ Duration samplingPeriod = SensorInterval.normalInterval, }) {