chore: Changed some bottom app bar properties

This commit is contained in:
PartyDonut 2025-10-28 22:11:52 +01:00
parent 16bf5e8a32
commit 4483e4a1f5

View file

@ -9,11 +9,10 @@ class NestedBottomAppBar extends ConsumerWidget {
@override @override
Widget build(BuildContext context, WidgetRef ref) { Widget build(BuildContext context, WidgetRef ref) {
return Padding( return Padding(
padding: const EdgeInsets.all(8.0).copyWith(bottom: MediaQuery.paddingOf(context).bottom), padding: const EdgeInsets.all(8.0).copyWith(bottom: MediaQuery.paddingOf(context).bottom + 8),
child: Card( child: Container(
color: Theme.of(context).colorScheme.surfaceContainerLow, decoration: BoxDecoration(
elevation: 5, color: Theme.of(context).colorScheme.surfaceContainerLow.withValues(alpha: 0.965),
shape: RoundedRectangleBorder(
borderRadius: BorderRadiusDirectional.circular(24), borderRadius: BorderRadiusDirectional.circular(24),
), ),
child: Padding( child: Padding(