diff --git a/lib/src/widgets/cursor.dart b/lib/src/widgets/cursor.dart index 9fef16e5..763d396d 100644 --- a/lib/src/widgets/cursor.dart +++ b/lib/src/widgets/cursor.dart @@ -101,7 +101,7 @@ class CursorCont extends ChangeNotifier { required this.show, required CursorStyle style, required TickerProvider tickerProvider, - }) : _style = style, + }) : _style = style, blink = ValueNotifier(false), color = ValueNotifier(style.color) { _blinkOpacityController = diff --git a/lib/src/widgets/text_line.dart b/lib/src/widgets/text_line.dart index 90f7ceff..d95923d3 100644 --- a/lib/src/widgets/text_line.dart +++ b/lib/src/widgets/text_line.dart @@ -628,7 +628,8 @@ class RenderEditableTextLine extends RenderEditableBox { : _leading!.getMinIntrinsicWidth(height - verticalPadding).ceil(); final bodyWidth = _body == null ? 0 - : _body!.getMinIntrinsicWidth(math.max(0, height - verticalPadding)) + : _body! + .getMinIntrinsicWidth(math.max(0, height - verticalPadding)) .ceil(); return horizontalPadding + leadingWidth + bodyWidth; } @@ -643,7 +644,8 @@ class RenderEditableTextLine extends RenderEditableBox { : _leading!.getMaxIntrinsicWidth(height - verticalPadding).ceil(); final bodyWidth = _body == null ? 0 - : _body!.getMaxIntrinsicWidth(math.max(0, height - verticalPadding)) + : _body! + .getMaxIntrinsicWidth(math.max(0, height - verticalPadding)) .ceil(); return horizontalPadding + leadingWidth + bodyWidth; }