* Fix typos

* lowercase animated & opacity

* Undo typo fix

---------

Co-authored-by: Michael Goderbauer <goderbauer@google.com>
This commit is contained in:
Lioness100
2023-02-23 14:43:21 -05:00
committed by GitHub
parent 3681b27a47
commit 26b6c1bedd
175 changed files with 285 additions and 284 deletions

View File

@@ -12,13 +12,13 @@ void main() {
const example.ChipApp(),
);
ChoiceChip choosenChip = tester.widget(find.byType(ChoiceChip).at(1));
expect(choosenChip.selected, true);
ChoiceChip chosenChip = tester.widget(find.byType(ChoiceChip).at(1));
expect(chosenChip.selected, true);
await tester.tap(find.byType(ChoiceChip).at(0));
await tester.pumpAndSettle();
choosenChip = tester.widget(find.byType(ChoiceChip).at(0));
expect(choosenChip.selected, true);
chosenChip = tester.widget(find.byType(ChoiceChip).at(0));
expect(chosenChip.selected, true);
});
}

View File

@@ -18,7 +18,7 @@ void main() {
expect(find.byType(VerticalDivider), findsOneWidget);
// Divider is positioned horizintally.
// Divider is positioned horizontally.
Offset expanded = tester.getTopRight(find.byType(Expanded).first);
expect(expanded.dx, tester.getTopLeft(find.byType(VerticalDivider)).dx);

View File

@@ -7,7 +7,7 @@ import 'package:flutter_api_samples/material/list_tile/list_tile.4.dart' as exam
import 'package:flutter_test/flutter_test.dart';
void main() {
testWidgets('Can choose different title aligments from popup menu', (WidgetTester tester) async {
testWidgets('Can choose different title alignments from popup menu', (WidgetTester tester) async {
await tester.pumpWidget(
const example.ListTileApp(),
);