浏览代码

fix bugs.

/main
kg 6 年前
当前提交
ebc7c3ae
共有 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 {

正在加载...
取消
保存