From 494c6abd3de44a92d34c5cbc424db2eefe3915cf Mon Sep 17 00:00:00 2001 From: Brian Date: Fri, 15 Dec 2023 17:24:29 -0300 Subject: [PATCH] [visibility_detector] Fix example for dart 3.0.0 (#508) Fix the visibility_detector example to use `implements Comparable` instead of `extends Comparable` for Dart 3.0. --- packages/visibility_detector/example/lib/main.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/visibility_detector/example/lib/main.dart b/packages/visibility_detector/example/lib/main.dart index 05085970..7b09cd8c 100644 --- a/packages/visibility_detector/example/lib/main.dart +++ b/packages/visibility_detector/example/lib/main.dart @@ -517,7 +517,7 @@ class VisibilityReportGridState extends State { } /// A class for storing a [row, column] pair. -class RowColumn extends Comparable { +class RowColumn implements Comparable { RowColumn(this.row, this.column); final int row;