removed the SizedBox. Leaving the size to adjust automatically depending on the footer's content.
This commit is contained in:
MikeWallaceDev 2021-12-23 14:03:51 -05:00
parent 7270c578e9
commit 9fc13c7d62

View File

@ -55,12 +55,9 @@ class ListOverlay extends StatelessWidget {
controller: controller, controller: controller,
), ),
if (footer != null) if (footer != null)
SizedBox( Padding(
height: footer!.height,
child: Padding(
padding: footer!.padding, padding: footer!.padding,
child: SizedBox.expand(child: footer!.widget), child: footer!.widget,
),
), ),
], ],
), ),