mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-17 03:06:39 -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
|
|
@ -70,6 +70,7 @@ class _CarouselBannerState extends ConsumerState<CarouselBanner> {
|
|||
final opacity = (constraints.maxWidth / maxExtent);
|
||||
return FocusButton(
|
||||
onTap: () => widget.items[index].navigateTo(context),
|
||||
borderRadius: border,
|
||||
onFocusChanged: (hover) {
|
||||
context.ensureVisible();
|
||||
},
|
||||
|
|
@ -155,9 +156,6 @@ class _CarouselBannerState extends ConsumerState<CarouselBanner> {
|
|||
),
|
||||
),
|
||||
),
|
||||
ExcludeFocus(
|
||||
child: BannerPlayButton(item: widget.items[index]),
|
||||
),
|
||||
IgnorePointer(
|
||||
child: Container(
|
||||
decoration: BoxDecoration(
|
||||
|
|
@ -171,6 +169,11 @@ class _CarouselBannerState extends ConsumerState<CarouselBanner> {
|
|||
),
|
||||
],
|
||||
),
|
||||
overlays: [
|
||||
ExcludeFocus(
|
||||
child: BannerPlayButton(item: widget.items[index]),
|
||||
),
|
||||
],
|
||||
);
|
||||
},
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue