浏览代码

Merge branch 'kgdev' into 'master'

fix bugs.

See merge request upm-packages/ui-widgets/com.unity.uiwidgets!108
/main
Fan Zhang 6 年前
当前提交
6fb12a3c
共有 2 个文件被更改,包括 3 次插入8 次删除
  1. 9
      Runtime/material/app.cs
  2. 2
      Runtime/widgets/pages.cs

9
Runtime/material/app.cs


string title = "",
Color color = null,
ThemeData theme = null,
bool showPerformanceOverlay = false,
Window window = null) : base(key: key) {
D.assert(window != null);
this.window = window;
bool showPerformanceOverlay = false
) : base(key: key) {
this.navigatorKey = navigatorKey;
this.home = home;
this.routes = routes ?? new Dictionary<string, WidgetBuilder>();

public readonly Color color;
public readonly bool showPerformanceOverlay;
public readonly Window window;
public override State createState() {
return new _MaterialAppState();

2
Runtime/widgets/pages.cs


}
public override bool opaque {
get { return false; }
get { return true; }
}
public override bool barrierDismissible {

正在加载...
取消
保存