public _SliverPersistentHeaderRenderObjectWidget( Key key = null, SliverPersistentHeaderDelegate layoutDelegate = null ) : base(key: key) { D.assert(layoutDelegate != null); this.layoutDelegate = layoutDelegate; }
public _SliverPersistentHeaderRenderObjectWidget( Key key = null, SliverPersistentHeaderDelegate del = null ) : base(key: key) { D.assert(del != null); this.del = del; }
public SliverPersistentHeader( Key key = null, SliverPersistentHeaderDelegate del = null, bool pinned = false, bool floating = false ) : base(key: key) { D.assert(del != null); this.layoutDelegate = del; this.pinned = pinned; this.floating = floating; }
public override void update(Widget _newWidget) { base.update(_newWidget); _SliverPersistentHeaderRenderObjectWidget newWidget = _newWidget as _SliverPersistentHeaderRenderObjectWidget; _SliverPersistentHeaderRenderObjectWidget oldWidget = this.widget; SliverPersistentHeaderDelegate newDelegate = newWidget.layoutDelegate; SliverPersistentHeaderDelegate oldDelegate = oldWidget.layoutDelegate; if (newDelegate != oldDelegate && (newDelegate.GetType() != oldDelegate.GetType() || newDelegate.shouldRebuild(oldDelegate))) { (this.renderObject as _RenderSliverPersistentHeaderForWidgetsMixin).triggerRebuild(); } }
public _SliverFloatingPinnedPersistentHeader( Key key = null, SliverPersistentHeaderDelegate layoutDelegate = null ) : base(key: key, layoutDelegate: layoutDelegate) { }
public abstract bool shouldRebuild(SliverPersistentHeaderDelegate oldDelegate);
public _SliverScrollingPersistentHeader( Key key = null, SliverPersistentHeaderDelegate layoutDelegate = null ) : base(key: key, layoutDelegate: layoutDelegate) { }
public _SliverFloatingPinnedPersistentHeader( Key key = null, SliverPersistentHeaderDelegate del = null ) : base(key: key, del: del) { }
public _SliverScrollingPersistentHeader( Key key = null, SliverPersistentHeaderDelegate del = null ) : base(key: key, del: del) { }