diff --git a/packages/flutter/lib/src/material/ink_ripple.dart b/packages/flutter/lib/src/material/ink_ripple.dart index 0adf27b3e7..fed4928762 100644 --- a/packages/flutter/lib/src/material/ink_ripple.dart +++ b/packages/flutter/lib/src/material/ink_ripple.dart @@ -74,7 +74,7 @@ class _InkRippleFactory extends InteractiveInkFeatureFactory { /// This object is rarely created directly. Instead of creating an ink ripple, /// consider using an [InkResponse] or [InkWell] widget, which uses /// gestures (such as tap and long-press) to trigger ink splashes. This class -/// is used when the [Theme]'s [ThemeData.splashType] is [InkSplashType.ripple]. +/// is used when the [Theme]'s [ThemeData.splashFactory] is [InkRipple.splashFactory]. /// /// See also: /// diff --git a/packages/flutter/lib/src/painting/text_painter.dart b/packages/flutter/lib/src/painting/text_painter.dart index 3da44f1cc1..9022683f82 100644 --- a/packages/flutter/lib/src/painting/text_painter.dart +++ b/packages/flutter/lib/src/painting/text_painter.dart @@ -391,7 +391,7 @@ class TextPainter { return value & 0xF800 == 0xD800; } - /// Returns the closest offset after `offset` at which the inout cursor can be + /// Returns the closest offset after `offset` at which the input cursor can be /// positioned. int getOffsetAfter(int offset) { final int nextCodeUnit = _text.codeUnitAt(offset);