浏览代码

fix two errors about cupertino_text_field

/zgh-devtools
guanghuispark 4 年前
当前提交
fbac9519
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 2
      com.unity.uiwidgets/Runtime/animation/listener_helpers.mixin.gen.cs
  2. 2
      com.unity.uiwidgets/Runtime/services/text_input.cs

2
com.unity.uiwidgets/Runtime/animation/listener_helpers.mixin.gen.cs


D.assert(() => {
IEnumerable<DiagnosticsNode> infoCollector() {
yield return new DiagnosticsProperty<AnimationLocalListenersMixinAnimationEagerListenerMixinAnimation<T>>(
"The " + GetType() + " notifying listeners was:",
"The " + GetType() + " notifying listeners was",
this,
style: DiagnosticsTreeStyle.errorProperty
);

2
com.unity.uiwidgets/Runtime/services/text_input.cs


string text = "",
TextSelection selection = null,
TextRange composing = null) {
selection = selection ?? TextSelection.collapsed(offset: -1);
D.assert(text != null);
D.assert(selection != null);
this.text = text;

正在加载...
取消
保存