Same problem as the official one: flutter/issue:When increase the headerSliver height from 600 to 1200 to hide the body off-screen.Immediately scroll back after over-scrolling and notice the scroll getting stuck for small moments.
Code sample
class Demo extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
body: ExtendedNestedScrollView(
headerSliverBuilder: (context, innerBoxIsScrolled) {
return [
SliverToBoxAdapter(
child: Container(
height: 1200,
width: double.infinity,
decoration: const BoxDecoration(
gradient: LinearGradient(
colors: [Colors.green, Colors.yellow],
begin: Alignment.topCenter,
end: Alignment.bottomCenter,
),
),
),
),
];
},
body: SingleChildScrollView(
child: Container(
height: 100,
width: double.infinity,
color: Colors.blue,
),
),
),
);
}
}
Same problem as the official one: flutter/issue:When increase the headerSliver height from 600 to 1200 to hide the body off-screen.Immediately scroll back after over-scrolling and notice the scroll getting stuck for small moments.
Code sample