您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

240 行
8.1 KiB

using Unity.UIWidgets.foundation;
using Unity.UIWidgets.rendering;
namespace Unity.UIWidgets.widgets {
{% macro _RenderSliverPersistentHeaderForWidgetsMixinOnRenderSliverPersistentHeader(with) %}
public abstract class _RenderSliverPersistentHeaderForWidgetsMixinOnRenderSliverPersistentHeader{{with}} : {{with}}, _RenderSliverPersistentHeaderForWidgetsMixin {
public _RenderSliverPersistentHeaderForWidgetsMixinOnRenderSliverPersistentHeaderRenderSliverFloatingPersistentHeader(
RenderBox child = null,
FloatingHeaderSnapConfiguration snapConfiguration = null,
OverScrollHeaderStretchConfiguration stretchConfiguration = null
) : base(
child: child,
stretchConfiguration: stretchConfiguration) {
_snapConfiguration = snapConfiguration;
}
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;
}
}
public override float? minExtent {
get {
return _element.widget.layoutDelegate.minExtent;
}
}
public override float? maxExtent {
get {
return _element.widget.layoutDelegate.minExtent;
}
}
protected override void updateChild(float shrinkOffset, bool overlapsContent) {
D.assert(_element != null);
_element._build(shrinkOffset, overlapsContent);
}
void _RenderSliverPersistentHeaderForWidgetsMixin.triggerRebuild() {
triggerRebuild();
}
void triggerRebuild() {
markNeedsLayout();
}
protected override void performLayout() {
base.performLayout();
}
}
{% endmacro %}
{{ _RenderSliverPersistentHeaderForWidgetsMixinOnRenderSliverPersistentHeader('RenderSliverFloatingPersistentHeader') }}
{% macro _RenderSliverPersistentHeaderForWidgetsMixinOnRenderSliverPersistentHeader(with) %}
public abstract class _RenderSliverPersistentHeaderForWidgetsMixinOnRenderSliverPersistentHeader{{with}} : {{with}}, _RenderSliverPersistentHeaderForWidgetsMixin {
public _RenderSliverPersistentHeaderForWidgetsMixinOnRenderSliverPersistentHeaderRenderSliverFloatingPinnedPersistentHeader(
RenderBox child = null,
FloatingHeaderSnapConfiguration snapConfiguration = null,
OverScrollHeaderStretchConfiguration stretchConfiguration = null
) : base(child: child,
snapConfiguration: snapConfiguration,
stretchConfiguration: stretchConfiguration) {
}
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;
}
}
public override float? minExtent {
get {
return _element.widget.layoutDelegate.minExtent;
}
}
public override float? maxExtent {
get {
return _element.widget.layoutDelegate.minExtent;
}
}
protected override void updateChild(float shrinkOffset, bool overlapsContent) {
D.assert(_element != null);
_element._build(shrinkOffset, overlapsContent);
}
void _RenderSliverPersistentHeaderForWidgetsMixin.triggerRebuild() {
triggerRebuild();
}
void triggerRebuild() {
markNeedsLayout();
}
protected override void performLayout() {
base.performLayout();
}
}
{% endmacro %}
{{ _RenderSliverPersistentHeaderForWidgetsMixinOnRenderSliverPersistentHeader('RenderSliverFloatingPinnedPersistentHeader') }}
{% macro _RenderSliverPersistentHeaderForWidgetsMixinOnRenderSliverPersistentHeader(with) %}
public abstract class _RenderSliverPersistentHeaderForWidgetsMixinOnRenderSliverPersistentHeader{{with}} : {{with}}, _RenderSliverPersistentHeaderForWidgetsMixin {
public _RenderSliverPersistentHeaderForWidgetsMixinOnRenderSliverPersistentHeaderRenderSliverPinnedPersistentHeader(
RenderBox child = null,
OverScrollHeaderStretchConfiguration stretchConfiguration = null
) : base(child: child,
stretchConfiguration: stretchConfiguration) {
}
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;
}
}
public override float? minExtent {
get {
return _element.widget.layoutDelegate.minExtent;
}
}
public override float? maxExtent {
get {
return _element.widget.layoutDelegate.minExtent;
}
}
protected override void updateChild(float shrinkOffset, bool overlapsContent) {
D.assert(_element != null);
_element._build(shrinkOffset, overlapsContent);
}
void _RenderSliverPersistentHeaderForWidgetsMixin.triggerRebuild() {
triggerRebuild();
}
void triggerRebuild() {
markNeedsLayout();
}
protected override void performLayout() {
base.performLayout();
}
}
{% endmacro %}
{{ _RenderSliverPersistentHeaderForWidgetsMixinOnRenderSliverPersistentHeader('RenderSliverPinnedPersistentHeader') }}
{% macro _RenderSliverPersistentHeaderForWidgetsMixinOnRenderSliverPersistentHeader(with) %}
public abstract class _RenderSliverPersistentHeaderForWidgetsMixinOnRenderSliverPersistentHeader{{with}} : {{with}}, _RenderSliverPersistentHeaderForWidgetsMixin {
public _RenderSliverPersistentHeaderForWidgetsMixinOnRenderSliverPersistentHeaderRenderSliverScrollingPersistentHeader(
RenderBox child = null,
OverScrollHeaderStretchConfiguration stretchConfiguration = null
) : base(child: child,
stretchConfiguration: stretchConfiguration) {
}
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;
}
}
public override float? minExtent {
get {
return _element.widget.layoutDelegate.minExtent;
}
}
public override float? maxExtent {
get {
return _element.widget.layoutDelegate.minExtent;
}
}
protected override void updateChild(float shrinkOffset, bool overlapsContent) {
D.assert(_element != null);
_element._build(shrinkOffset, overlapsContent);
}
void _RenderSliverPersistentHeaderForWidgetsMixin.triggerRebuild() {
triggerRebuild();
}
void triggerRebuild() {
markNeedsLayout();
}
protected override void performLayout() {
base.performLayout();
}
}
{% endmacro %}
{{ _RenderSliverPersistentHeaderForWidgetsMixinOnRenderSliverPersistentHeader('RenderSliverScrollingPersistentHeader') }}
}