Skip to content

Commit 4bcb73f

Browse files
committed
Format code
1 parent 6707181 commit 4bcb73f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

lib/src/widgets/cursor.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class CursorCont extends ChangeNotifier {
101101
required this.show,
102102
required CursorStyle style,
103103
required TickerProvider tickerProvider,
104-
}) : _style = style,
104+
}) : _style = style,
105105
blink = ValueNotifier(false),
106106
color = ValueNotifier(style.color) {
107107
_blinkOpacityController =

lib/src/widgets/text_line.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,8 @@ class RenderEditableTextLine extends RenderEditableBox {
628628
: _leading!.getMinIntrinsicWidth(height - verticalPadding).ceil();
629629
final bodyWidth = _body == null
630630
? 0
631-
: _body!.getMinIntrinsicWidth(math.max(0, height - verticalPadding))
631+
: _body!
632+
.getMinIntrinsicWidth(math.max(0, height - verticalPadding))
632633
.ceil();
633634
return horizontalPadding + leadingWidth + bodyWidth;
634635
}
@@ -643,7 +644,8 @@ class RenderEditableTextLine extends RenderEditableBox {
643644
: _leading!.getMaxIntrinsicWidth(height - verticalPadding).ceil();
644645
final bodyWidth = _body == null
645646
? 0
646-
: _body!.getMaxIntrinsicWidth(math.max(0, height - verticalPadding))
647+
: _body!
648+
.getMaxIntrinsicWidth(math.max(0, height - verticalPadding))
647649
.ceil();
648650
return horizontalPadding + leadingWidth + bodyWidth;
649651
}

0 commit comments

Comments
 (0)