flutter_sticky_header icon indicating copy to clipboard operation
flutter_sticky_header copied to clipboard

silver of SliverStickyHeader over lapping the header

Open mokaily opened this issue 6 years ago • 1 comments

The problem is shown in the GIF

the silver of the sticky header is overlapping from bottom !!

look at the bottom of the silver it keeps going up like the header is not exist !!

https://i.stack.imgur.com/ezU86.gif https://i.stack.imgur.com/VYOCA.gif

snippets

CustomScrollView(slivers: <Widget>[
          SliverToBoxAdapter(
            child: _slider(context),
          ),
          SliverStickyHeader(
            overlapsContent: false,
            header: Container(
                width: MediaQuery.of(context).size.width,
                child: TabBar(
                //some styling
                  tabs: [
                    //tabs
                  ],
                )),
            sliver: SliverFillViewport(
              delegate: SliverChildListDelegate([
                Column(
                  children: <Widget>[
                    Flexible(
                      child: TabBarView(
                        physics: NeverScrollableScrollPhysics(),
                        children: <Widget>[
                          Text("sd\nsd\nsd"),
                          Text("sd"),
                          Padding(
                            padding: const EdgeInsets.only(
                                top: 0, left: 8, right: 8),
                            child: OnlineDeals(),
                          ),
                        ],
                        controller: _tabController,
                      ),
                    ),
                  ],
                ),
              ]),
            ),
          ),
        ])

mokaily avatar Oct 07 '19 20:10 mokaily

Mmmh it's maybe fixed in the 0.6.4, can you test?

letsar avatar Jul 13 '22 17:07 letsar