Add max size to events list, fix background blue color issue
This commit is contained in:
parent
a8e418d983
commit
c0ef12e158
@ -47,7 +47,7 @@ class _EventsListState extends State<_EventsList> {
|
||||
strength: backdropAmt,
|
||||
child: IgnorePointer(
|
||||
child: Container(
|
||||
color: $styles.colors.greyStrong.withOpacity(backdropAmt * .6),
|
||||
color: $styles.colors.black.withOpacity(backdropAmt * .6),
|
||||
),
|
||||
)),
|
||||
],
|
||||
|
@ -28,14 +28,19 @@ class WonderEvents extends StatelessWidget {
|
||||
color: $styles.colors.black,
|
||||
child: SafeArea(
|
||||
bottom: false,
|
||||
child: Stack(
|
||||
children: [
|
||||
/// Top content, sits underneath scrolling list
|
||||
_TopContent(data: _data),
|
||||
child: Center(
|
||||
child: SizedBox(
|
||||
width: $styles.sizes.maxContentWidth,
|
||||
child: Stack(
|
||||
children: [
|
||||
/// Top content, sits underneath scrolling list
|
||||
_TopContent(data: _data),
|
||||
|
||||
/// Scrolling Events list, takes up the full view
|
||||
_EventsList(data: _data),
|
||||
],
|
||||
/// Scrolling Events list, takes up the full view
|
||||
_EventsList(data: _data),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user