fixed bottom overlay height when there is no position/title

This commit is contained in:
Thibault Deckers 2020-03-18 10:48:17 +09:00
parent b9dd6becaf
commit 7fe8dbe13c

View file

@ -153,10 +153,11 @@ class _FullscreenBottomOverlayContent extends StatelessWidget {
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
SizedBox(
width: maxWidth,
child: Text(positionTitle, strutStyle: Constants.overflowStrutStyle),
),
if (positionTitle.isNotEmpty)
SizedBox(
width: maxWidth,
child: Text(positionTitle, strutStyle: Constants.overflowStrutStyle),
),
if (entry.hasGps)
Container(
padding: const EdgeInsets.only(top: _interRowPadding),