1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00
This commit is contained in:
Brett Morgan
2024-08-29 22:51:13 +10:00
committed by GitHub
parent e5cd55ff25
commit 20c1002132
3 changed files with 2 additions and 4 deletions

View File

@@ -158,7 +158,6 @@ class WonkyCharState extends State<WonkyChar>
'**ERROR** unrecognized property to animate: ${s.property}'); '**ERROR** unrecognized property to animate: ${s.property}');
} }
} }
break;
} }
} }
// save refs to all curves just to persist in mem, don't need to touch them again // save refs to all curves just to persist in mem, don't need to touch them again

View File

@@ -5,7 +5,6 @@
import 'dart:async'; import 'dart:async';
import 'dart:math'; import 'dart:math';
import 'package:collection/collection.dart';
import 'package:uuid/uuid.dart' as uuid; import 'package:uuid/uuid.dart' as uuid;
import 'api.dart'; import 'api.dart';
@@ -108,7 +107,7 @@ class MockEntryApi implements EntryApi {
var list = _storage.keys var list = _storage.keys
.where((k) => k.startsWith(categoryId)) .where((k) => k.startsWith(categoryId))
.map((k) => _storage[k]) .map((k) => _storage[k])
.whereNotNull() .nonNulls
.toList(); .toList();
return list; return list;
} }

View File

@@ -186,7 +186,7 @@ void main() {
}); });
testWidgets( testWidgets(
'Material version switches between Material3 and Material2 when' 'Material version switches between Material3 and Material2 when '
'the version icon is clicked', (tester) async { 'the version icon is clicked', (tester) async {
widgetSetup(tester, 450, windowHeight: 7000); widgetSetup(tester, 450, windowHeight: 7000);
await tester.pumpWidget(const App()); await tester.pumpWidget(const App());