Beispiel #1
0
        public override void updateRenderObject(BuildContext context, RenderObject _renderObject)
        {
            _RenderSliverFloatingPinnedPersistentHeaderForWidgets renderObject =
                _renderObject as _RenderSliverFloatingPinnedPersistentHeaderForWidgets;

            renderObject.snapConfiguration = this.layoutDelegate.snapConfiguration;
        }
Beispiel #2
0
        public override RenderObject createRenderObject(BuildContext context)
        {
            _RenderSliverFloatingPinnedPersistentHeaderForWidgets ret =
                new _RenderSliverFloatingPinnedPersistentHeaderForWidgets();

            ret.snapConfiguration = this.layoutDelegate.snapConfiguration;
            return(ret);
        }