Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit f04a5de

Browse files
author
eightgran
committed
Fix overflow on TitledCollapsibleCard
1 parent 4e37b17 commit f04a5de

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lib/src/widgets/collapsible_card/titled_collapsible_card.dart

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ class _TitledCollapsibleCardState extends State<TitledCollapsibleCard> {
4545
child: AnimatedBuilder(
4646
animation: widget.collapsibleCardController.animationController,
4747
builder: (context, child) {
48-
return SizedBox(
48+
return SingleChildScrollView(
49+
physics: BouncingScrollPhysics(),
50+
child: SizedBox(
4951
height: widget.height,
5052
width: MediaQuery.of(context).size.width,
5153
child: Transform(
@@ -97,7 +99,9 @@ class _TitledCollapsibleCardState extends State<TitledCollapsibleCard> {
9799
),
98100
],
99101
),
100-
));
102+
),
103+
),
104+
);
101105
},
102106
));
103107
}

0 commit comments

Comments
 (0)