Fixed update screen header color

This commit is contained in:
Juan Gilsanz Polo 2025-03-23 19:18:51 +01:00
parent e6a01ac546
commit 8e5bbdbd4b

View file

@ -218,9 +218,16 @@ class _Header extends SliverPersistentHeaderDelegate {
final iconBottom = _iconMinBottomPositionExent + (iconMaxBottomPositionExent-iconMinBottomPositionExent)*(1-iconPercentage); final iconBottom = _iconMinBottomPositionExent + (iconMaxBottomPositionExent-iconMinBottomPositionExent)*(1-iconPercentage);
return LayoutBuilder( return LayoutBuilder(
builder: (context, constraints) => Container( builder: (context, constraints) => Stack(
children: [
Container(
decoration: BoxDecoration( decoration: BoxDecoration(
color: Theme.of(context).colorScheme.surfaceContainerHighest, color: Theme.of(context).colorScheme.surface,
),
),
Container(
decoration: BoxDecoration(
color: Theme.of(context).colorScheme.surfaceTint.withOpacity(0.075),
), ),
child: Align( child: Align(
alignment: Alignment.topLeft, alignment: Alignment.topLeft,
@ -314,6 +321,8 @@ class _Header extends SliverPersistentHeaderDelegate {
), ),
), ),
), ),
],
),
); );
} }