My SliverFillRemaining
is not scrolling when his child is taking more space than is available.
Here is my code
return Scaffold(
final size = MediaQuery.of(context).size;
appBar: AppBar(...),
body: SafeArea(
child: MainPadding(
child: CustomScrollView(
physics: ClampingScrollPhysics(),
slivers: [
SliverFillRemaining(
child: Column(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Column(
children: [
ProgressCirclesBoxSelection(),
AddressContainer(...),
const SizedBox(height: 16),
DottedBorder(...),
const SizedBox(height: 16),
ListView.builder(
shrinkWrap: true,
itemCount: widget.boxParams.sizes.length,
itemBuilder: (context, i) {...}
)
],
),
SizedBox(
width: size.width,
child: ElevatedButton(
onPressed: () {...}
)
)
],
),
)
],
)
),
),
);
I can’t scroll it whenever I touch, also I tried to add NeverScrollableScrollPhysics()
to ListView.builder
but it doesn’t change anything