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,
|
softWrap: false,
|
||||||
overflow: TextOverflow.fade,
|
overflow: TextOverflow.fade,
|
||||||
maxLines: 1,
|
maxLines: 1,
|
||||||
|
child: SizedBox(
|
||||||
|
width: maxWidth,
|
||||||
child: Selector<MediaQueryData, Orientation>(
|
child: Selector<MediaQueryData, Orientation>(
|
||||||
selector: (c, mq) => mq.orientation,
|
selector: (c, mq) => mq.orientation,
|
||||||
builder: (c, orientation, child) {
|
builder: (c, orientation, child) {
|
||||||
|
@ -157,11 +159,7 @@ class _FullscreenBottomOverlayContent extends AnimatedWidget {
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
if (positionTitle.isNotEmpty)
|
if (positionTitle.isNotEmpty) Text(positionTitle, strutStyle: Constants.overflowStrutStyle),
|
||||||
SizedBox(
|
|
||||||
width: maxWidth,
|
|
||||||
child: Text(positionTitle, strutStyle: Constants.overflowStrutStyle),
|
|
||||||
),
|
|
||||||
if (entry.hasGps)
|
if (entry.hasGps)
|
||||||
Container(
|
Container(
|
||||||
padding: const EdgeInsets.only(top: _interRowPadding),
|
padding: const EdgeInsets.only(top: _interRowPadding),
|
||||||
|
@ -195,6 +193,7 @@ class _FullscreenBottomOverlayContent extends AnimatedWidget {
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue