Skip to content

Commit

Permalink
Fix. typos (#137479)
Browse files Browse the repository at this point in the history
## Description

This PR fixes typos in 
- `editable_text_show_on_screen_test.dart`
- `form_test.dart`
- `framework.dart`
  • Loading branch information
droidbg authored Nov 1, 2023
1 parent c617937 commit 01b8854
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/flutter/lib/src/widgets/framework.dart
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ const String _flutterWidgetsLibrary = 'package:flutter/widgets.dart';
/// objects should override [didUpdateWidget] to respond to changes in their
/// associated widget (e.g., to start implicit animations). The framework
/// always calls [build] after calling [didUpdateWidget], which means any
/// calls to [setState] in [didUpdateWidget] are redundant. (See alse the
/// calls to [setState] in [didUpdateWidget] are redundant. (See also the
/// discussion at [Element.rebuild].)
/// * During development, if a hot reload occurs (whether initiated from the
/// command line `flutter` tool by pressing `r`, or from an IDE), the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ void main() {
expect(render.size.height, greaterThan(500.0));
expect(scrollController.offset, 0.0);

// Change selection to non-collapased so that cursor isn't shown
// Change selection to non-collapsed so that cursor isn't shown
// and the location requires a bit of scroll.
tester.testTextInput.updateEditingValue(TextEditingValue(
text: text,
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter/test/widgets/form_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ void main() {

Future<void> checkText(String testValue) async {
await tester.enterText(find.byType(TextField), testValue);
// pump'ing is unnecessary because callback happens regardless of frames
// Pumping is unnecessary because callback happens regardless of frames.
expect(fieldValue, equals(testValue));
}

Expand Down

0 comments on commit 01b8854

Please sign in to comment.