majro update

This commit is contained in:
Fabian Freund
2025-02-28 14:30:49 +01:00
parent a8957f6cf8
commit 3c4d479bd9
181 changed files with 7090 additions and 5299 deletions
@@ -0,0 +1,24 @@
import 'package:flutter/material.dart';
class RoundedBackground extends StatelessWidget {
final Widget child;
final Color? backgroundColor;
const RoundedBackground({
super.key,
required this.child,
this.backgroundColor,
});
@override
Widget build(BuildContext context) {
return Container(
padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 2),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(25),
color: backgroundColor ?? Theme.of(context).colorScheme.primary,
),
child: child,
);
}
}