Fixed some typos (#18516)

This commit is contained in:
Hans Muller 2018-06-15 13:03:49 -07:00 committed by GitHub
parent 29e0e8b22f
commit ac0aaf777f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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:
///

View File

@ -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);