Fix gap on bottom of editorial app bar image
This commit is contained in:
parent
527fcebce1
commit
252c45a56d
@ -53,9 +53,11 @@ class _AppBar extends StatelessWidget {
|
|||||||
fit: StackFit.expand,
|
fit: StackFit.expand,
|
||||||
children: [
|
children: [
|
||||||
/// Masked image
|
/// Masked image
|
||||||
Center(
|
BottomCenter(
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
width: showOverlay ? double.infinity : $styles.sizes.maxContentWidth1,
|
width: showOverlay ? double.infinity : $styles.sizes.maxContentWidth1,
|
||||||
|
child: Padding(
|
||||||
|
padding: const EdgeInsets.only(bottom: 50),
|
||||||
child: ClipPath(
|
child: ClipPath(
|
||||||
// Switch arch type to Rect if we are showing the title bar
|
// Switch arch type to Rect if we are showing the title bar
|
||||||
clipper: showOverlay ? null : ArchClipper(arch),
|
clipper: showOverlay ? null : ArchClipper(arch),
|
||||||
@ -76,6 +78,7 @@ class _AppBar extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
|
|
||||||
/// Colored overlay
|
/// Colored overlay
|
||||||
if (showOverlay) ...[
|
if (showOverlay) ...[
|
||||||
|
Loading…
x
Reference in New Issue
Block a user