mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-09 15:38:13 -07:00
chore: Cleanup and performance improvements for posters
This commit is contained in:
parent
9e5537089b
commit
b28a409757
7 changed files with 437 additions and 456 deletions
|
|
@ -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,
|
||||
],
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue