Fix missing color

pull/13/head
singerdmx 4 years ago
parent 68f4634b42
commit b40b0f63f2
  1. 3
      lib/widgets/text_line.dart

@ -173,6 +173,7 @@ class EditableTextLine extends RenderObjectWidget {
hasFocus, hasFocus,
devicePixelRatio, devicePixelRatio,
_getPadding(), _getPadding(),
this.color,
cursorCont); cursorCont);
} }
@ -226,12 +227,14 @@ class RenderEditableTextLine extends RenderEditableBox {
this.hasFocus, this.hasFocus,
this.devicePixelRatio, this.devicePixelRatio,
this.padding, this.padding,
this.color,
this.cursorCont) this.cursorCont)
: assert(line != null), : assert(line != null),
assert(padding != null), assert(padding != null),
assert(padding.isNonNegative), assert(padding.isNonNegative),
assert(devicePixelRatio != null), assert(devicePixelRatio != null),
assert(hasFocus != null), assert(hasFocus != null),
assert(color != null),
assert(cursorCont != null); assert(cursorCont != null);
Iterable<RenderBox> get _children sync* { Iterable<RenderBox> get _children sync* {

Loading…
Cancel
Save