浏览代码

Remove assert on background cursor color

/main
Yuncong Zhang 6 年前
当前提交
caa5cf77
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Runtime/widgets/editable_text.cs

2
Runtime/widgets/editable_text.cs


D.assert(style != null);
D.assert(cursorColor != null);
D.assert(maxLines == null || maxLines > 0);
D.assert(backgroundCursorColor != null);
// D.assert(backgroundCursorColor != null); // TODO: remove comment when this parameter is actually used
this.keyboardType = keyboardType ?? (maxLines == 1 ? TextInputType.text : TextInputType.multiline);
this.scrollPadding = scrollPadding ?? EdgeInsets.all(20.0f);

正在加载...
取消
保存