overlay: minor fix
This commit is contained in:
parent
edd410d854
commit
38c0f0897e
1 changed files with 45 additions and 46 deletions
|
@ -143,6 +143,8 @@ class _FullscreenBottomOverlayContent extends AnimatedWidget {
|
|||
softWrap: false,
|
||||
overflow: TextOverflow.fade,
|
||||
maxLines: 1,
|
||||
child: SizedBox(
|
||||
width: maxWidth,
|
||||
child: Selector<MediaQueryData, Orientation>(
|
||||
selector: (c, mq) => mq.orientation,
|
||||
builder: (c, orientation, child) {
|
||||
|
@ -157,11 +159,7 @@ class _FullscreenBottomOverlayContent extends AnimatedWidget {
|
|||
mainAxisSize: MainAxisSize.min,
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
if (positionTitle.isNotEmpty)
|
||||
SizedBox(
|
||||
width: maxWidth,
|
||||
child: Text(positionTitle, strutStyle: Constants.overflowStrutStyle),
|
||||
),
|
||||
if (positionTitle.isNotEmpty) Text(positionTitle, strutStyle: Constants.overflowStrutStyle),
|
||||
if (entry.hasGps)
|
||||
Container(
|
||||
padding: const EdgeInsets.only(top: _interRowPadding),
|
||||
|
@ -195,6 +193,7 @@ class _FullscreenBottomOverlayContent extends AnimatedWidget {
|
|||
);
|
||||
},
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue