'Last width ($_textLayoutLastMinWidth, $_textLayoutLastMaxWidth) not the same as max width constraint (${constraints.minWidth}, ${constraints.maxWidth}).');
'Last width ($_textLayoutLastMinWidth, $_textLayoutLastMaxWidth) not the same as max width constraint (${constraints.minWidth}, ${constraints.maxWidth}).');
// If the floating cursor is enabled, the text cursor's color is [backgroundCursorColor] while
// the floating cursor's color is _cursorColor;
...
...
@@ -1713,8 +1720,9 @@ class RenderEditable extends RenderBox {
'Last width ($_textLayoutLastMinWidth, $_textLayoutLastMaxWidth) not the same as max width constraint (${constraints.minWidth}, ${constraints.maxWidth}).');
assert(_floatingCursorOn);
// We always want the floating cursor to render at full opacity.
...
...
@@ -1801,8 +1809,9 @@ class RenderEditable extends RenderBox {
'Last width ($_textLayoutLastMinWidth, $_textLayoutLastMaxWidth) not the same as max width constraint (${constraints.minWidth}, ${constraints.maxWidth}).');
assert(_selectionRects!=null);
finalPaintpaint=Paint()..color=_selectionColor;
for(ui.TextBoxboxin_selectionRects)
...
...
@@ -1810,8 +1819,9 @@ class RenderEditable extends RenderBox {
'Last width ($_textLayoutLastMinWidth, $_textLayoutLastMaxWidth) not the same as max width constraint (${constraints.minWidth}, ${constraints.maxWidth}).');
finalOffseteffectiveOffset=offset+_paintOffset;
boolshowSelection=false;
...
...
@@ -1874,7 +1884,7 @@ class RenderEditable extends RenderBox {