From 1fd71de0c5db6db2105da06caa16ec726e7752f8 Mon Sep 17 00:00:00 2001 From: Ahmed Ashour Date: Wed, 25 Jan 2023 21:23:24 +0100 Subject: [PATCH] Remove superfluous words from comments (#119055) * Remove superfluous words from comments. * Revert `win32_window.h` Which seems to come from `gallery` --- .../src/cupertino/adaptive_text_selection_toolbar.dart | 4 ++-- packages/flutter/lib/src/foundation/diagnostics.dart | 2 +- packages/flutter/lib/src/gestures/monodrag.dart | 2 +- packages/flutter/lib/src/material/action_chip.dart | 2 +- .../lib/src/material/adaptive_text_selection_toolbar.dart | 2 +- packages/flutter/lib/src/material/app_bar.dart | 8 ++++---- packages/flutter/lib/src/material/checkbox.dart | 2 +- packages/flutter/lib/src/material/drawer.dart | 2 +- packages/flutter/lib/src/material/flexible_space_bar.dart | 2 +- packages/flutter/lib/src/material/range_slider.dart | 2 +- packages/flutter/lib/src/material/slider.dart | 2 +- packages/flutter/lib/src/material/snack_bar.dart | 4 ++-- packages/flutter/lib/src/material/theme_data.dart | 6 +++--- packages/flutter/lib/src/painting/box_shadow.dart | 2 +- packages/flutter/lib/src/painting/gradient.dart | 4 ++-- .../lib/src/rendering/sliver_multi_box_adaptor.dart | 2 +- .../lib/src/widgets/draggable_scrollable_sheet.dart | 2 +- packages/flutter/lib/src/widgets/editable_text.dart | 2 +- packages/flutter/lib/src/widgets/localizations.dart | 4 ++-- packages/flutter/lib/src/widgets/performance_overlay.dart | 2 +- packages/flutter/lib/src/widgets/scroll_physics.dart | 4 ++-- packages/flutter/test/material/tabs_test.dart | 2 +- packages/flutter/test/material/text_field_test.dart | 2 +- packages/flutter/test/physics/newton_test.dart | 2 +- packages/flutter_tools/lib/src/base/utils.dart | 2 +- .../lib/src/localizations/message_parser.dart | 2 +- packages/flutter_tools/lib/src/template.dart | 2 +- .../flutter_tools/lib/src/test/web_test_compiler.dart | 2 +- 28 files changed, 38 insertions(+), 38 deletions(-) diff --git a/packages/flutter/lib/src/cupertino/adaptive_text_selection_toolbar.dart b/packages/flutter/lib/src/cupertino/adaptive_text_selection_toolbar.dart index 9850179119..19302c2fea 100644 --- a/packages/flutter/lib/src/cupertino/adaptive_text_selection_toolbar.dart +++ b/packages/flutter/lib/src/cupertino/adaptive_text_selection_toolbar.dart @@ -157,7 +157,7 @@ class CupertinoAdaptiveTextSelectionToolbar extends StatelessWidget { final List? buttonItems; /// Returns a List of Widgets generated by turning [buttonItems] into the - /// the default context menu buttons for Cupertino on the current platform. + /// default context menu buttons for Cupertino on the current platform. /// /// This is useful when building a text selection toolbar with the default /// button appearance for the given platform, but where the toolbar and/or the @@ -165,7 +165,7 @@ class CupertinoAdaptiveTextSelectionToolbar extends StatelessWidget { /// /// Does not build Material buttons. On non-Apple platforms, Cupertino buttons /// will still be used, because the Cupertino library does not access the - /// Material library. To get the native-looking buttons on every platform, use + /// Material library. To get the native-looking buttons on every platform, /// use [AdaptiveTextSelectionToolbar.getAdaptiveButtons] in the Material /// library. /// diff --git a/packages/flutter/lib/src/foundation/diagnostics.dart b/packages/flutter/lib/src/foundation/diagnostics.dart index debcb62c78..fa1520186b 100644 --- a/packages/flutter/lib/src/foundation/diagnostics.dart +++ b/packages/flutter/lib/src/foundation/diagnostics.dart @@ -2561,7 +2561,7 @@ class DiagnosticsProperty extends DiagnosticsNode { /// The [showName], [showSeparator], [style], [missingIfNull], and [level] /// arguments must not be null. /// - /// The [level] argument is just a suggestion and can be overridden if + /// The [level] argument is just a suggestion and can be overridden /// if something else about the property causes it to have a lower or higher /// level. For example, if calling `computeValue` throws an exception, [level] /// will always return [DiagnosticLevel.error]. diff --git a/packages/flutter/lib/src/gestures/monodrag.dart b/packages/flutter/lib/src/gestures/monodrag.dart index 1ac25a964b..b8f64e0c93 100644 --- a/packages/flutter/lib/src/gestures/monodrag.dart +++ b/packages/flutter/lib/src/gestures/monodrag.dart @@ -180,7 +180,7 @@ abstract class DragGestureRecognizer extends OneSequenceGestureRecognizer { /// * [allowedButtonsFilter], which decides which button will be allowed. GestureDragCancelCallback? onCancel; - /// The minimum distance an input pointer drag must have moved to + /// The minimum distance an input pointer drag must have moved /// to be considered a fling gesture. /// /// This value is typically compared with the distance traveled along the diff --git a/packages/flutter/lib/src/material/action_chip.dart b/packages/flutter/lib/src/material/action_chip.dart index 18cc81ebf6..05d288036d 100644 --- a/packages/flutter/lib/src/material/action_chip.dart +++ b/packages/flutter/lib/src/material/action_chip.dart @@ -20,7 +20,7 @@ import 'theme_data.dart'; /// Action chips can be tapped to trigger an action or show progress and /// confirmation. For Material 3, a disabled state is supported for Action /// chips and is specified with [onPressed] being null. For previous versions -/// of Material Design, it is recommended to remove the Action chip from the +/// of Material Design, it is recommended to remove the Action chip from /// the interface entirely rather than display a disabled chip. /// /// Action chips are displayed after primary content, such as below a card or diff --git a/packages/flutter/lib/src/material/adaptive_text_selection_toolbar.dart b/packages/flutter/lib/src/material/adaptive_text_selection_toolbar.dart index e87a038c88..277c58b275 100644 --- a/packages/flutter/lib/src/material/adaptive_text_selection_toolbar.dart +++ b/packages/flutter/lib/src/material/adaptive_text_selection_toolbar.dart @@ -220,7 +220,7 @@ class AdaptiveTextSelectionToolbar extends StatelessWidget { } /// Returns a List of Widgets generated by turning [buttonItems] into the - /// the default context menu buttons for the current platform. + /// default context menu buttons for the current platform. /// /// This is useful when building a text selection toolbar with the default /// button appearance for the given platform, but where the toolbar and/or the diff --git a/packages/flutter/lib/src/material/app_bar.dart b/packages/flutter/lib/src/material/app_bar.dart index f12a8838a9..7463e4c0f5 100644 --- a/packages/flutter/lib/src/material/app_bar.dart +++ b/packages/flutter/lib/src/material/app_bar.dart @@ -129,7 +129,7 @@ class _PreferredAppBarSize extends Size { /// /// If the app bar's [actions] contains [TextButton]s, they will not /// be visible if their foreground (text) color is the same as the -/// the app bar's background color. +/// app bar's background color. /// /// The default app bar [backgroundColor] is the overall theme's /// [ColorScheme.primary] if the overall theme's brightness is @@ -591,7 +591,7 @@ class AppBar extends StatefulWidget implements PreferredSizeWidget { /// See also: /// /// * [actionsIconTheme], which defines the appearance of icons in - /// in the [actions] list. + /// the [actions] list. final IconThemeData? iconTheme; /// {@template flutter.material.appbar.actionsIconTheme} @@ -746,7 +746,7 @@ class AppBar extends StatefulWidget implements PreferredSizeWidget { /// /// * [titleTextStyle], which overrides the default text style for the [title]. /// * [DefaultTextStyle], which overrides the default text style for all of the - /// the widgets in a subtree. + /// widgets in a subtree. final TextStyle? toolbarTextStyle; /// {@template flutter.material.appbar.titleTextStyle} @@ -764,7 +764,7 @@ class AppBar extends StatefulWidget implements PreferredSizeWidget { /// [title], [leading], and [actions] widgets, also known as the /// AppBar's "toolbar". /// * [DefaultTextStyle], which overrides the default text style for all of the - /// the widgets in a subtree. + /// widgets in a subtree. final TextStyle? titleTextStyle; /// {@template flutter.material.appbar.systemOverlayStyle} diff --git a/packages/flutter/lib/src/material/checkbox.dart b/packages/flutter/lib/src/material/checkbox.dart index 0fa606ee77..1d9f790434 100644 --- a/packages/flutter/lib/src/material/checkbox.dart +++ b/packages/flutter/lib/src/material/checkbox.dart @@ -34,7 +34,7 @@ import 'toggleable.dart'; /// /// {@tool dartpad} /// This example shows how you can override the default theme of -/// of a [Checkbox] with a [MaterialStateProperty]. +/// a [Checkbox] with a [MaterialStateProperty]. /// In this example, the checkbox's color will be `Colors.blue` when the [Checkbox] /// is being pressed, hovered, or focused. Otherwise, the checkbox's color will /// be `Colors.red`. diff --git a/packages/flutter/lib/src/material/drawer.dart b/packages/flutter/lib/src/material/drawer.dart index 6d1af98660..3beaecf3c2 100644 --- a/packages/flutter/lib/src/material/drawer.dart +++ b/packages/flutter/lib/src/material/drawer.dart @@ -115,7 +115,7 @@ const Duration _kBaseSettleDuration = Duration(milliseconds: 246); /// {@end-tool} /// /// An open drawer may be closed with a swipe to close gesture, pressing the -/// the escape key, by tapping the scrim, or by calling pop route function such as +/// escape key, by tapping the scrim, or by calling pop route function such as /// [Navigator.pop]. For example a drawer item might close the drawer when tapped: /// /// ```dart diff --git a/packages/flutter/lib/src/material/flexible_space_bar.dart b/packages/flutter/lib/src/material/flexible_space_bar.dart index f66423cb39..737c8546df 100644 --- a/packages/flutter/lib/src/material/flexible_space_bar.dart +++ b/packages/flutter/lib/src/material/flexible_space_bar.dart @@ -116,7 +116,7 @@ class FlexibleSpaceBar extends StatefulWidget { /// bottom-left or its center. /// /// Typically this property is used to adjust how far the title is - /// is inset from the bottom-left and it is specified along with + /// inset from the bottom-left and it is specified along with /// [centerTitle] false. /// /// By default the value of this property is diff --git a/packages/flutter/lib/src/material/range_slider.dart b/packages/flutter/lib/src/material/range_slider.dart index 01e2c5b548..8c255c0336 100644 --- a/packages/flutter/lib/src/material/range_slider.dart +++ b/packages/flutter/lib/src/material/range_slider.dart @@ -326,7 +326,7 @@ class RangeSlider extends StatefulWidget { /// the range slider thumb is hovered or dragged. /// /// If this property is null, [RangeSlider] will use [activeColor] with - /// with an opacity of 0.12. If null, [SliderThemeData.overlayColor] + /// an opacity of 0.12. If null, [SliderThemeData.overlayColor] /// will be used, otherwise defaults to [ColorScheme.primary] with /// an opacity of 0.12. final MaterialStateProperty? overlayColor; diff --git a/packages/flutter/lib/src/material/slider.dart b/packages/flutter/lib/src/material/slider.dart index b7f3e52beb..3344038ab4 100644 --- a/packages/flutter/lib/src/material/slider.dart +++ b/packages/flutter/lib/src/material/slider.dart @@ -431,7 +431,7 @@ class Slider extends StatefulWidget { /// the slider thumb is focused, hovered, or dragged. /// /// If this property is null, [Slider] will use [activeColor] with - /// with an opacity of 0.12, If null, [SliderThemeData.overlayColor] + /// an opacity of 0.12, If null, [SliderThemeData.overlayColor] /// will be used. /// /// If that is also null, If [ThemeData.useMaterial3] is true, diff --git a/packages/flutter/lib/src/material/snack_bar.dart b/packages/flutter/lib/src/material/snack_bar.dart index 991fdd748b..b9cc3b8893 100644 --- a/packages/flutter/lib/src/material/snack_bar.dart +++ b/packages/flutter/lib/src/material/snack_bar.dart @@ -96,7 +96,7 @@ class SnackBarAction extends StatefulWidget { /// [SnackBarThemeData.actionTextColor]. /// /// If [textColor] is a [MaterialStateColor], then the text color will be - /// be resolved against the set of [MaterialState]s that the action text + /// resolved against the set of [MaterialState]s that the action text /// is in, thus allowing for different colors for states such as pressed, /// hovered and others. final Color? textColor; @@ -366,7 +366,7 @@ class SnackBar extends StatefulWidget { /// inverse surface. /// /// If [closeIconColor] is a [MaterialStateColor], then the icon color will be - /// be resolved against the set of [MaterialState]s that the action text + /// resolved against the set of [MaterialState]s that the action text /// is in, thus allowing for different colors for states such as pressed, /// hovered and others. final Color? closeIconColor; diff --git a/packages/flutter/lib/src/material/theme_data.dart b/packages/flutter/lib/src/material/theme_data.dart index 0341ed9fe2..0381885c6a 100644 --- a/packages/flutter/lib/src/material/theme_data.dart +++ b/packages/flutter/lib/src/material/theme_data.dart @@ -1145,7 +1145,7 @@ class ThemeData with Diagnosticable { /// to determine the current platform for the purpose of emulating the /// platform behavior (e.g. scrolling or haptic effects). Widgets and render /// objects at lower layers that try to emulate the underlying platform - /// platform can depend on [defaultTargetPlatform] directly, or may require + /// can depend on [defaultTargetPlatform] directly, or may require /// that the target platform be provided as an argument. The /// [dart:io.Platform] object should only be used directly when it's critical /// to actually know the current platform, without any overrides possible (for @@ -1591,7 +1591,7 @@ class ThemeData with Diagnosticable { /// /// Apps should migrate uses of this property to the theme's [colorScheme] /// [ColorScheme.secondary] color. In cases where a color is needed that - /// that contrasts well with the secondary color [ColorScheme.onSecondary] + /// contrasts well with the secondary color [ColorScheme.onSecondary] /// can be used. @Deprecated( 'Use colorScheme.secondary instead. ' @@ -2539,7 +2539,7 @@ class ThemeData with Diagnosticable { /// styles. /// /// In the most basic case, [ThemeData]'s `cupertinoOverrideTheme` is null and -/// and descendant Cupertino widgets' styling is derived from the Material theme. +/// descendant Cupertino widgets' styling is derived from the Material theme. /// /// To override individual parts of the Material-derived Cupertino styling, /// `cupertinoOverrideTheme`'s construction parameters can be used. diff --git a/packages/flutter/lib/src/painting/box_shadow.dart b/packages/flutter/lib/src/painting/box_shadow.dart index 362826c3d3..9b2c018577 100644 --- a/packages/flutter/lib/src/painting/box_shadow.dart +++ b/packages/flutter/lib/src/painting/box_shadow.dart @@ -80,7 +80,7 @@ class BoxShadow extends ui.Shadow { /// Linearly interpolate between two box shadows. /// - /// If either box shadow is null, this function linearly interpolates from a + /// If either box shadow is null, this function linearly interpolates from /// a box shadow that matches the other box shadow in color but has a zero /// offset and a zero blurRadius. /// diff --git a/packages/flutter/lib/src/painting/gradient.dart b/packages/flutter/lib/src/painting/gradient.dart index fd90223db5..10688bf34e 100644 --- a/packages/flutter/lib/src/painting/gradient.dart +++ b/packages/flutter/lib/src/painting/gradient.dart @@ -468,7 +468,7 @@ class LinearGradient extends Gradient { /// Linearly interpolate between two [LinearGradient]s. /// - /// If either gradient is null, this function linearly interpolates from a + /// If either gradient is null, this function linearly interpolates from /// a gradient that matches the other gradient in [begin], [end], [stops] and /// [tileMode] and with the same [colors] but transparent (using [scale]). /// @@ -747,7 +747,7 @@ class RadialGradient extends Gradient { /// Linearly interpolate between two [RadialGradient]s. /// - /// If either gradient is null, this function linearly interpolates from a + /// If either gradient is null, this function linearly interpolates from /// a gradient that matches the other gradient in [center], [radius], [stops] and /// [tileMode] and with the same [colors] but transparent (using [scale]). /// diff --git a/packages/flutter/lib/src/rendering/sliver_multi_box_adaptor.dart b/packages/flutter/lib/src/rendering/sliver_multi_box_adaptor.dart index 0e036e9277..f7d81f2146 100644 --- a/packages/flutter/lib/src/rendering/sliver_multi_box_adaptor.dart +++ b/packages/flutter/lib/src/rendering/sliver_multi_box_adaptor.dart @@ -169,7 +169,7 @@ class SliverMultiBoxAdaptorParentData extends SliverLogicalParentData with Conta /// been laid out during that layout pass. /// * Children cannot be added except during a call to [childManager], and /// then only if there is no child corresponding to that index (or the child -/// child corresponding to that index was first removed). +/// corresponding to that index was first removed). /// /// See also: /// diff --git a/packages/flutter/lib/src/widgets/draggable_scrollable_sheet.dart b/packages/flutter/lib/src/widgets/draggable_scrollable_sheet.dart index bbc2736233..d586e2684a 100644 --- a/packages/flutter/lib/src/widgets/draggable_scrollable_sheet.dart +++ b/packages/flutter/lib/src/widgets/draggable_scrollable_sheet.dart @@ -317,7 +317,7 @@ class DraggableScrollableSheet extends StatefulWidget { /// The initial fractional value of the parent container's height to use when /// displaying the widget. /// - /// Rebuilding the sheet with a new [initialChildSize] will only move the + /// Rebuilding the sheet with a new [initialChildSize] will only move /// the sheet to the new value if the sheet has not yet been dragged since it /// was first built or since the last call to [DraggableScrollableActuator.reset]. /// diff --git a/packages/flutter/lib/src/widgets/editable_text.dart b/packages/flutter/lib/src/widgets/editable_text.dart index 95abd45644..46d15b7939 100644 --- a/packages/flutter/lib/src/widgets/editable_text.dart +++ b/packages/flutter/lib/src/widgets/editable_text.dart @@ -3966,7 +3966,7 @@ class EditableTextState extends State with AutomaticKeepAliveClien // `x ∉ getTextBoundaryAt(x)`. In case `caretOffset` points to one such // control character, we define that these control characters themselves are // still part of the previous line, but also exclude them from the - // the line boundary range since they're non-printing. IOW, no additional + // line boundary range since they're non-printing. IOW, no additional // processing needed since the LineBoundary class does exactly that. return forward ? TextPosition(offset: textBoundary.getTrailingTextBoundaryAt(caretOffset) ?? _value.text.length, affinity: TextAffinity.upstream) diff --git a/packages/flutter/lib/src/widgets/localizations.dart b/packages/flutter/lib/src/widgets/localizations.dart index 5be665af9c..b7d80ac19a 100644 --- a/packages/flutter/lib/src/widgets/localizations.dart +++ b/packages/flutter/lib/src/widgets/localizations.dart @@ -318,8 +318,8 @@ class _LocalizationsScope extends InheritedWidget { /// } /// ``` /// -/// Each delegate can be viewed as a factory for objects that encapsulate a -/// a set of localized resources. These objects are retrieved with +/// Each delegate can be viewed as a factory for objects that encapsulate a set +/// of localized resources. These objects are retrieved with /// by runtime type with [Localizations.of]. /// /// The [WidgetsApp] class creates a [Localizations] widget so most apps diff --git a/packages/flutter/lib/src/widgets/performance_overlay.dart b/packages/flutter/lib/src/widgets/performance_overlay.dart index 352d4ae4fa..8fe58a6d5f 100644 --- a/packages/flutter/lib/src/widgets/performance_overlay.dart +++ b/packages/flutter/lib/src/widgets/performance_overlay.dart @@ -59,7 +59,7 @@ class PerformanceOverlay extends LeafRenderObjectWidget { /// For example, if you want a trace of all pictures that could not be /// rendered by the rasterizer within the frame boundary (and hence caused /// jank), specify 1. Specifying 2 will trace all pictures that took more - /// more than 2 frame intervals to render. Adjust this value to only capture + /// than 2 frame intervals to render. Adjust this value to only capture /// the particularly expensive pictures while skipping the others. Specifying /// 0 disables all capture. /// diff --git a/packages/flutter/lib/src/widgets/scroll_physics.dart b/packages/flutter/lib/src/widgets/scroll_physics.dart index 704cdc71a5..7aeb1d3342 100644 --- a/packages/flutter/lib/src/widgets/scroll_physics.dart +++ b/packages/flutter/lib/src/widgets/scroll_physics.dart @@ -405,8 +405,8 @@ class ScrollPhysics { ); } - /// The minimum distance an input pointer drag must have moved to - /// to be considered a scroll fling gesture. + /// The minimum distance an input pointer drag must have moved to be + /// considered a scroll fling gesture. /// /// This value is typically compared with the distance traveled along the /// scrolling axis. diff --git a/packages/flutter/test/material/tabs_test.dart b/packages/flutter/test/material/tabs_test.dart index 87222add00..a8b683ad54 100644 --- a/packages/flutter/test/material/tabs_test.dart +++ b/packages/flutter/test/material/tabs_test.dart @@ -704,7 +704,7 @@ void main() { } // End the fling by reversing direction. This should cause not cause // a change to the selected tab, everything should just settle back to - // to where it started. + // where it started. for (int index = 0; index > 50; index += 1) { await gesture.moveBy(const Offset(10.0, 0.0)); await tester.pump(const Duration(milliseconds: 1)); diff --git a/packages/flutter/test/material/text_field_test.dart b/packages/flutter/test/material/text_field_test.dart index e4414e8291..b6efeb2495 100644 --- a/packages/flutter/test/material/text_field_test.dart +++ b/packages/flutter/test/material/text_field_test.dart @@ -11039,7 +11039,7 @@ void main() { expect( tester.getSize(find.byType(TextField)), // When the strut fontSize is larger than a provided TextStyle, the - // the strut's height takes precedence. + // strut's height takes precedence. const Size(800, 78), ); }, diff --git a/packages/flutter/test/physics/newton_test.dart b/packages/flutter/test/physics/newton_test.dart index 896e1319fb..a473bf70af 100644 --- a/packages/flutter/test/physics/newton_test.dart +++ b/packages/flutter/test/physics/newton_test.dart @@ -60,7 +60,7 @@ void main() { expect(friction.dx(1.0), moreOrLessEquals(endVelocity)); // Same scenario as above except that the velocities are - // are negative. + // negative. startPosition = 1000.0; startVelocity = -500.0; f = FrictionSimulation(0.025, 1000.0, -500.0); diff --git a/packages/flutter_tools/lib/src/base/utils.dart b/packages/flutter_tools/lib/src/base/utils.dart index d02410ec1e..8bcc97e70a 100644 --- a/packages/flutter_tools/lib/src/base/utils.dart +++ b/packages/flutter_tools/lib/src/base/utils.dart @@ -339,7 +339,7 @@ List _wrapTextAsLines(String text, { final int effectiveLength = math.max(columnWidth - start, kMinColumnWidth); for (final String line in text.split('\n')) { // If the line is short enough, even with ANSI codes, then we can just add - // add it and move on. + // it and move on. if (line.length <= effectiveLength || !shouldWrap) { result.add(line); continue; diff --git a/packages/flutter_tools/lib/src/localizations/message_parser.dart b/packages/flutter_tools/lib/src/localizations/message_parser.dart index 47afdb835d..19a00d76d8 100644 --- a/packages/flutter_tools/lib/src/localizations/message_parser.dart +++ b/packages/flutter_tools/lib/src/localizations/message_parser.dart @@ -335,7 +335,7 @@ class Parser { parsingStack.addAll(grammarRule.reversed); // For tree construction, add nodes to the parent until the parent has all - // all the children it is expecting. + // the children it is expecting. parent.children.add(node); if (parent.isFull) { treeTraversalStack.removeLast(); diff --git a/packages/flutter_tools/lib/src/template.dart b/packages/flutter_tools/lib/src/template.dart index a63505954b..c476e27a21 100644 --- a/packages/flutter_tools/lib/src/template.dart +++ b/packages/flutter_tools/lib/src/template.dart @@ -86,7 +86,7 @@ class Template { from: templateFiles[entity]!.absolute.path); if (relativePath.contains(templateExtension)) { // If '.tmpl' appears anywhere within the path of this entity, it is - // is a candidate for rendering. This catches cases where the folder + // a candidate for rendering. This catches cases where the folder // itself is a template. _templateFilePaths[relativePath] = fileSystem.path.absolute(entity.path); } diff --git a/packages/flutter_tools/lib/src/test/web_test_compiler.dart b/packages/flutter_tools/lib/src/test/web_test_compiler.dart index ed584aa92b..ecf28ae080 100644 --- a/packages/flutter_tools/lib/src/test/web_test_compiler.dart +++ b/packages/flutter_tools/lib/src/test/web_test_compiler.dart @@ -52,7 +52,7 @@ class WebTestCompiler { LanguageVersion languageVersion = LanguageVersion(2, 8); late final String platformDillName; - // TODO(zanderso): to support autodetect this would need to partition the source code into a + // TODO(zanderso): to support autodetect this would need to partition the source code into // a sound and unsound set and perform separate compilations final List extraFrontEndOptions = List.of(buildInfo.extraFrontEndOptions); if (buildInfo.nullSafetyMode == NullSafetyMode.unsound || buildInfo.nullSafetyMode == NullSafetyMode.autodetect) {