Fix. typos (#137479)
## Description This PR fixes typos in - `editable_text_show_on_screen_test.dart` - `form_test.dart` - `framework.dart`
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user