Fix gap on bottom of editorial app bar image

This commit is contained in:
Shawn 2022-12-22 13:33:16 -07:00
parent 527fcebce1
commit 252c45a56d

View File

@ -53,9 +53,11 @@ class _AppBar extends StatelessWidget {
fit: StackFit.expand,
children: [
/// Masked image
Center(
BottomCenter(
child: SizedBox(
width: showOverlay ? double.infinity : $styles.sizes.maxContentWidth1,
child: Padding(
padding: const EdgeInsets.only(bottom: 50),
child: ClipPath(
// Switch arch type to Rect if we are showing the title bar
clipper: showOverlay ? null : ArchClipper(arch),
@ -76,6 +78,7 @@ class _AppBar extends StatelessWidget {
),
),
),
),
/// Colored overlay
if (showOverlay) ...[