From ac0aaf777f79b9066903f7367333bd190c803b51 Mon Sep 17 00:00:00 2001 From: Hans Muller Date: Fri, 15 Jun 2018 13:03:49 -0700 Subject: [PATCH] Fixed some typos (#18516) --- packages/flutter/lib/src/material/ink_ripple.dart | 2 +- packages/flutter/lib/src/painting/text_painter.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);