浏览代码

[Cupertino] Fix bug

/main
iizzaya 5 年前
当前提交
db6c7275
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 2
      Runtime/widgets/heroes.cs
  2. 1
      Samples/UIWidgetsGallery/demo/cupertino/cupertino_navigation_demo.cs

2
Runtime/widgets/heroes.cs


HeroFlightShuttleBuilder shuttleBuilder,
bool isUserGestureTransition
) {
D.assert(fromHero.widget.tag == toHero.widget.tag);
D.assert(fromHero.widget.tag.ToString() == toHero.widget.tag.ToString());
this.type = type;
this.overlay = overlay;
this.navigatorRect = navigatorRect;

1
Samples/UIWidgetsGallery/demo/cupertino/cupertino_navigation_demo.cs


class Tab1ItemPageState : State<Tab1ItemPage> {
public override void initState() {
base.initState();
this.relatedColors = new List<Color>(10);
this.relatedColors = new List<Color>();
for (int i = 0; i < 10; i++) {

正在加载...
取消
保存