chore: Cleanup and performance improvements for posters

This commit is contained in:
PartyDonut 2025-10-12 18:30:43 +02:00
parent 9e5537089b
commit b28a409757
7 changed files with 437 additions and 456 deletions

View file

@ -18,6 +18,7 @@ class FlatButton extends ConsumerWidget {
final double elevation;
final bool showFeedback;
final Clip clipBehavior;
final List<Widget> overlays;
const FlatButton({
this.child,
this.onFocusChange,
@ -32,6 +33,7 @@ class FlatButton extends ConsumerWidget {
this.elevation = 0,
this.showFeedback = true,
this.clipBehavior = Clip.none,
this.overlays = const [],
super.key,
});
@ -67,6 +69,7 @@ class FlatButton extends ConsumerWidget {
),
),
),
...overlays,
],
);
}