浏览代码

Merge pull request #82 from Unity-Technologies/siyaoH/1.17/fix

fix FloatingActionButton
/siyaoH-1.17-PlatformMessage
GitHub 4 年前
当前提交
2bf5c9a2
共有 1 个文件被更改,包括 18 次插入18 次删除
  1. 36
      com.unity.uiwidgets/Runtime/material/scaffold.cs

36
com.unity.uiwidgets/Runtime/material/scaffold.cs


)
));
}
}
if (_isExtendedFloatingActionButton(widget.child)) {
children.Add(new ScaleTransition(
scale: _extendedCurrentScaleAnimation,
child: new FadeTransition(
opacity: _currentScaleAnimation,
child: widget.child
)
));
}
else {
children.Add(new ScaleTransition(
scale: _currentScaleAnimation,
child: new RotationTransition(
turns: _currentRotationAnimation,
child: widget.child
)
));
}
if (_isExtendedFloatingActionButton(widget.child)) {
children.Add(new ScaleTransition(
scale: _extendedCurrentScaleAnimation,
child: new FadeTransition(
opacity: _currentScaleAnimation,
child: widget.child
)
));
}
else {
children.Add(new ScaleTransition(
scale: _currentScaleAnimation,
child: new RotationTransition(
turns: _currentRotationAnimation,
child: widget.child
)
));
}
return new Stack(

正在加载...
取消
保存