Fix random space at the end
This commit is contained in:
parent
6e938c8e61
commit
15eedafca1
@ -32,9 +32,10 @@ class SectionCard extends StatelessWidget {
|
|||||||
bool isOffline = (appContext.getContext() as VisitAppContext).configuration!.isOffline!;
|
bool isOffline = (appContext.getContext() as VisitAppContext).configuration!.isOffline!;
|
||||||
|
|
||||||
return Container(
|
return Container(
|
||||||
margin: EdgeInsets.symmetric(
|
margin: EdgeInsets.only(
|
||||||
horizontal: kDefaultPadding,
|
left: kDefaultPadding,
|
||||||
vertical: sectionDTO.order!+1 == itemCount ? kDefaultPadding : 0,
|
right: kDefaultPadding,
|
||||||
|
bottom: itemIndex+1 == itemCount ? kDefaultPadding : 0
|
||||||
),
|
),
|
||||||
height: 160,
|
height: 160,
|
||||||
decoration: const BoxDecoration(
|
decoration: const BoxDecoration(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user