浏览代码

fix sliver persistent header bug

/zgh-devtools
guanghuispark 4 年前
当前提交
62c8a156
共有 3 个文件被更改,包括 129 次插入29 次删除
  1. 14
      com.unity.uiwidgets/Runtime/widgets/sliver_persistent_header.cs
  2. 72
      com.unity.uiwidgets/Runtime/widgets/sliver_persistent_header.mixin.gen.cs
  3. 72
      com.unity.uiwidgets/Runtime/widgets/sliver_persistent_header.mixin.njk

14
com.unity.uiwidgets/Runtime/widgets/sliver_persistent_header.cs


using Unity.UIWidgets.rendering;
namespace Unity.UIWidgets.widgets {
static class sliver_persistent_header_utils {
public static _SliverPersistentHeaderElement _element { get; set; }
}
public abstract class SliverPersistentHeaderDelegate {
public SliverPersistentHeaderDelegate() {
}

public override void mount(Element parent, object newSlot) {
base.mount(parent, newSlot);
(renderObject as _RenderSliverPersistentHeaderForWidgetsMixin)._element = this;
sliver_persistent_header_utils._element = this;
(renderObject as _RenderSliverPersistentHeaderForWidgetsMixin)._element = null;
sliver_persistent_header_utils._element = null;
}
public override void update(Widget _newWidget) {

}
public interface _RenderSliverPersistentHeaderForWidgetsMixin {
_SliverPersistentHeaderElement _element { get; set; }
void triggerRebuild();
}

}
public _SliverPersistentHeaderElement _element {
get { return _ele; }
set { _ele = value; }
get { return sliver_persistent_header_utils._element; }
set { sliver_persistent_header_utils._element = value; }
}
_SliverPersistentHeaderElement _ele;

72
com.unity.uiwidgets/Runtime/widgets/sliver_persistent_header.mixin.gen.cs


_snapConfiguration = snapConfiguration;
}
public _SliverPersistentHeaderElement _element { get; set; }
public _SliverPersistentHeaderElement _element {
get {
return sliver_persistent_header_utils._element;
}
set {
if (value == sliver_persistent_header_utils._element) {
return;
}
sliver_persistent_header_utils._element = value;
}
}
float? minExtent {
public override float? minExtent {
float? maxExtent {
public override float? maxExtent {
get {
return _element.widget.layoutDelegate.minExtent;
}

stretchConfiguration: stretchConfiguration) {
}
public _SliverPersistentHeaderElement _element { get; set; }
public _SliverPersistentHeaderElement _element {
get {
return sliver_persistent_header_utils._element;
}
set {
if (value == sliver_persistent_header_utils._element) {
return;
}
sliver_persistent_header_utils._element = value;
}
}
float? minExtent {
public override float? minExtent {
float? maxExtent {
public override float? maxExtent {
get {
return _element.widget.layoutDelegate.minExtent;
}

stretchConfiguration: stretchConfiguration) {
}
public _SliverPersistentHeaderElement _element { get; set; }
public _SliverPersistentHeaderElement _element {
get {
return sliver_persistent_header_utils._element;
}
set {
if (value == sliver_persistent_header_utils._element) {
return;
}
sliver_persistent_header_utils._element = value;
}
}
float? minExtent {
public override float? minExtent {
float? maxExtent {
public override float? maxExtent {
get {
return _element.widget.layoutDelegate.minExtent;
}

stretchConfiguration: stretchConfiguration) {
}
public _SliverPersistentHeaderElement _element { get; set; }
public _SliverPersistentHeaderElement _element {
get {
return sliver_persistent_header_utils._element;
}
set {
if (value == sliver_persistent_header_utils._element) {
return;
}
sliver_persistent_header_utils._element = value;
}
}
float? minExtent {
public override float? minExtent {
float? maxExtent {
public override float? maxExtent {
get {
return _element.widget.layoutDelegate.minExtent;
}

72
com.unity.uiwidgets/Runtime/widgets/sliver_persistent_header.mixin.njk


_snapConfiguration = snapConfiguration;
}
public _SliverPersistentHeaderElement _element { get; set; }
public _SliverPersistentHeaderElement _element {
get {
return sliver_persistent_header_utils._element;
}
set {
if (value == sliver_persistent_header_utils._element) {
return;
}
sliver_persistent_header_utils._element = value;
}
}
float? minExtent {
public override float? minExtent {
float? maxExtent {
public override float? maxExtent {
get {
return _element.widget.layoutDelegate.minExtent;
}

stretchConfiguration: stretchConfiguration) {
}
public _SliverPersistentHeaderElement _element { get; set; }
public _SliverPersistentHeaderElement _element {
get {
return sliver_persistent_header_utils._element;
}
set {
if (value == sliver_persistent_header_utils._element) {
return;
}
sliver_persistent_header_utils._element = value;
}
}
float? minExtent {
public override float? minExtent {
float? maxExtent {
public override float? maxExtent {
get {
return _element.widget.layoutDelegate.minExtent;
}

stretchConfiguration: stretchConfiguration) {
}
public _SliverPersistentHeaderElement _element { get; set; }
public _SliverPersistentHeaderElement _element {
get {
return sliver_persistent_header_utils._element;
}
set {
if (value == sliver_persistent_header_utils._element) {
return;
}
sliver_persistent_header_utils._element = value;
}
}
float? minExtent {
public override float? minExtent {
float? maxExtent {
public override float? maxExtent {
get {
return _element.widget.layoutDelegate.minExtent;
}

stretchConfiguration: stretchConfiguration) {
}
public _SliverPersistentHeaderElement _element { get; set; }
public _SliverPersistentHeaderElement _element {
get {
return sliver_persistent_header_utils._element;
}
set {
if (value == sliver_persistent_header_utils._element) {
return;
}
sliver_persistent_header_utils._element = value;
}
}
float? minExtent {
public override float? minExtent {
float? maxExtent {
public override float? maxExtent {
get {
return _element.widget.layoutDelegate.minExtent;
}

正在加载...
取消
保存