Fixed some typos (#18516)
This commit is contained in:
parent
29e0e8b22f
commit
ac0aaf777f
@ -74,7 +74,7 @@ class _InkRippleFactory extends InteractiveInkFeatureFactory {
|
|||||||
/// This object is rarely created directly. Instead of creating an ink ripple,
|
/// This object is rarely created directly. Instead of creating an ink ripple,
|
||||||
/// consider using an [InkResponse] or [InkWell] widget, which uses
|
/// consider using an [InkResponse] or [InkWell] widget, which uses
|
||||||
/// gestures (such as tap and long-press) to trigger ink splashes. This class
|
/// 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:
|
/// See also:
|
||||||
///
|
///
|
||||||
|
@ -391,7 +391,7 @@ class TextPainter {
|
|||||||
return value & 0xF800 == 0xD800;
|
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.
|
/// positioned.
|
||||||
int getOffsetAfter(int offset) {
|
int getOffsetAfter(int offset) {
|
||||||
final int nextCodeUnit = _text.codeUnitAt(offset);
|
final int nextCodeUnit = _text.codeUnitAt(offset);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user