예제 #1
0
        public override void updateRenderObject(BuildContext context, RenderObject _renderObject)
        {
            _RenderSliverFloatingPersistentHeaderForWidgets renderObject =
                _renderObject as _RenderSliverFloatingPersistentHeaderForWidgets;

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

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