Unverified Commit 0bc43682 authored by Pierre-Louis's avatar Pierre-Louis Committed by GitHub

Typo sweep (#60693)

parent ec3368ae
......@@ -146,7 +146,7 @@ class CategoryView extends StatelessWidget {
}
// One BackdropPanel is visible at a time. It's stacked on top of the
// the BackdropDemo.
// BackdropDemo.
class BackdropPanel extends StatelessWidget {
const BackdropPanel({
Key key,
......
......@@ -22,7 +22,7 @@ void main() {
final Finder passwordField = find.widgetWithText(TextFormField, 'Password *');
expect(passwordField, findsOneWidget);
// Verify the that the phone number's TextInputFormatter does what's expected.
// Verify that the phone number's TextInputFormatter does what's expected.
await tester.enterText(phoneNumberField, '1234567890');
await tester.pumpAndSettle();
expect(find.text('(123) 456-7890'), findsOneWidget);
......
......@@ -166,7 +166,7 @@ class NavigationRail extends StatefulWidget {
///
/// The extended state has a wider rail container, and the labels are
/// positioned next to the icons. [minExtendedWidth] can be used to set the
/// the minimum width of the rail when it is in this state.
/// minimum width of the rail when it is in this state.
///
/// The rail will implicitly animate between the extended and normal state.
///
......
......@@ -1034,9 +1034,8 @@ class Scaffold extends StatefulWidget {
/// instead of only extending to the top of the [bottomNavigationBar]
/// or the [persistentFooterButtons].
///
/// If true, a [MediaQuery] widget whose bottom padding matches the
/// the height of the [bottomNavigationBar] will be added above the
/// scaffold's [body].
/// If true, a [MediaQuery] widget whose bottom padding matches the height
/// of the [bottomNavigationBar] will be added above the scaffold's [body].
///
/// This property is often useful when the [bottomNavigationBar] has
/// a non-rectangular shape, like [CircularNotchedRectangle], which
......
......@@ -123,7 +123,7 @@ abstract class InheritedTheme extends InheritedWidget {
final Type themeType = theme.runtimeType;
// Only remember the first theme of any type. This assumes
// that inherited themes completely shadow ancestors of the
// the same type.
// same type.
if (!themeTypes.contains(themeType)) {
themeTypes.add(themeType);
themes.add(theme);
......
......@@ -545,7 +545,7 @@ class NestedScrollViewState extends State<NestedScrollView> {
/// See also:
///
/// * [outerController], which exposes the [ScrollController] used by the
/// the sliver(s) contained in [NestedScrollView.headerSliverBuilder].
/// sliver(s) contained in [NestedScrollView.headerSliverBuilder].
ScrollController get innerController => _coordinator._innerController;
/// The [ScrollController] provided to the [ScrollView] in
......
......@@ -182,7 +182,7 @@ abstract class TransitionRoute<T> extends OverlayRoute<T> {
break;
case AnimationStatus.dismissed:
// We might still be an active route if a subclass is controlling the
// the transition and hits the dismissed status. For example, the iOS
// transition and hits the dismissed status. For example, the iOS
// back gesture drives this animation to the dismissed status before
// removing the route and disposing it.
if (!isActive) {
......
......@@ -201,9 +201,9 @@ class _RenderSliverFractionalPadding extends RenderSliverEdgeInsetsPadding {
/// account in deciding how to layout this sliver.
///
/// [SliverFillRemaining] will size its [child] to fill the viewport in the
/// main axis if that space is larger than the child's extent, and the
/// the amount of space that has been scrolled beforehand has not exceeded the
/// main axis extent of the viewport.
/// main axis if that space is larger than the child's extent, and the amount
/// of space that has been scrolled beforehand has not exceeded the main axis
/// extent of the viewport.
///
/// {@tool dartpad --template=stateless_widget_scaffold}
///
......
......@@ -1680,7 +1680,7 @@ void main() {
await tester.pump();
// Plain collapsed selection at the edge of first word. In iOS 12, the
// the first tap after a double tap ends up putting the cursor at where
// first tap after a double tap ends up putting the cursor at where
// you tapped instead of the edge like every other single tap. This is
// likely a bug in iOS 12 and not present in other versions.
expect(
......
......@@ -6497,7 +6497,7 @@ void main() {
await tester.pump();
// Plain collapsed selection at the edge of first word. In iOS 12, the
// the first tap after a double tap ends up putting the cursor at where
// first tap after a double tap ends up putting the cursor at where
// you tapped instead of the edge like every other single tap. This is
// likely a bug in iOS 12 and not present in other versions.
expect(
......
......@@ -2695,7 +2695,7 @@ void main() {
await tester.pump();
// Plain collapsed selection at the edge of first word. In iOS 12, the
// the first tap after a double tap ends up putting the cursor at where
// first tap after a double tap ends up putting the cursor at where
// you tapped instead of the edge like every other single tap. This is
// likely a bug in iOS 12 and not present in other versions.
expect(
......@@ -3493,7 +3493,7 @@ void main() {
expect(
tester.getSize(find.byType(SelectableText)),
// When the strut fontSize is larger than a provided TextStyle, the
// the strut's height takes precedence.
// strut's height takes precedence.
const Size(93.0, 54.0),
);
},
......
......@@ -478,7 +478,7 @@ abstract class TestWidgetsFlutterBinding extends BindingBase
/// The current client of the onscreen keyboard. Callers must pump
/// an additional frame after setting this property to complete the
/// the focus change.
/// focus change.
///
/// Instead of setting this directly, consider using
/// [WidgetTester.showKeyboard].
......
......@@ -503,7 +503,7 @@ self.addEventListener("fetch", (event) => {
if (event.request.url == origin || event.request.url.startsWith(origin + '/#')) {
key = '/';
}
// If the URL is not the the RESOURCE list, skip the cache.
// If the URL is not the RESOURCE list, skip the cache.
if (!RESOURCES[key]) {
return event.respondWith(fetch(event.request));
}
......
......@@ -164,7 +164,7 @@ class FuchsiaPM {
///
/// [FuchsiaPackageServer] takes care of initializing the package repository,
/// spinning up the package server, publishing packages, and shutting down the
/// the server.
/// server.
///
/// Example usage:
/// var server = FuchsiaPackageServer(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment