浏览代码

fix bug

/main
xingwei.zhu 6 年前
当前提交
a03ee997
共有 2 个文件被更改,包括 2 次插入5 次删除
  1. 1
      Runtime/material/app.cs
  2. 6
      Samples/UIWidgetSample/MaterialSample.cs

1
Runtime/material/app.cs


onGenerateRoute: this.widget.onGenerateRoute,
onUnknownRoute: this.widget.onUnknownRoute,
builder: this.widget.builder,
window: this.widget.window,
textStyle: AppUtils._errorTextStyle
)
);

6
Samples/UIWidgetSample/MaterialSample.cs


using Unity.UIWidgets.foundation;
using Unity.UIWidgets.material;
using Unity.UIWidgets.painting;
using Unity.UIWidgets.ui;
using Unity.UIWidgets.widgets;
using UnityEngine;
using Color = Unity.UIWidgets.ui.Color;

};
protected override Widget createWidget() {
return new WidgetsApp(
home: this.testCases[this.testCaseId],
pageRouteBuilder: this.pageRouteBuilder);
return new MaterialApp(
home: this.testCases[this.testCaseId]);
}
}

正在加载...
取消
保存