Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Commit

Permalink
Update to build with Dart 3 language version (#1040)
Browse files Browse the repository at this point in the history
  • Loading branch information
parlough authored Nov 2, 2023
1 parent 998119e commit a1cd1ab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/codeviewer/code_segments.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48156,7 +48156,7 @@ class CodeSegments {
TextSpan(style: codeStyle.baseStyle, text: ' '),
TextSpan(style: codeStyle.classStyle, text: '_BoardIterator'),
TextSpan(style: codeStyle.baseStyle, text: ' '),
TextSpan(style: codeStyle.keywordStyle, text: 'extends'),
TextSpan(style: codeStyle.keywordStyle, text: 'implements'),
TextSpan(style: codeStyle.baseStyle, text: ' '),
TextSpan(style: codeStyle.classStyle, text: 'Iterator'),
TextSpan(style: codeStyle.punctuationStyle, text: '<'),
Expand Down
2 changes: 1 addition & 1 deletion lib/demos/reference/transformations_demo_board.dart
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ class Board extends Object with IterableMixin<BoardPoint?> {
}
}

class _BoardIterator extends Iterator<BoardPoint?> {
class _BoardIterator implements Iterator<BoardPoint?> {
_BoardIterator(this.boardPoints);

final List<BoardPoint> boardPoints;
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ version: 2.10.2+021002 # See README.md for details on versioning.

environment:
flutter: ^3.13.0
sdk: ">=2.17.0"
sdk: ^3.1.0

dependencies:
flutter:
Expand Down

0 comments on commit a1cd1ab

Please sign in to comment.