mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-15 10:15:58 -07:00
feat: Android TV support (#503)
Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
parent
7ab8c015b9
commit
c299492d6d
168 changed files with 12019 additions and 3073 deletions
|
|
@ -9,10 +9,12 @@ class MediaHeader extends ConsumerWidget {
|
|||
final String name;
|
||||
final ImageData? logo;
|
||||
final Function()? onTap;
|
||||
final Alignment alignment;
|
||||
const MediaHeader({
|
||||
required this.name,
|
||||
required this.logo,
|
||||
this.onTap,
|
||||
this.alignment = Alignment.bottomCenter,
|
||||
super.key,
|
||||
});
|
||||
|
||||
|
|
@ -48,7 +50,7 @@ class MediaHeader extends ConsumerWidget {
|
|||
? FladderImage(
|
||||
image: logo,
|
||||
disableBlur: true,
|
||||
alignment: Alignment.bottomCenter,
|
||||
alignment: alignment,
|
||||
imageErrorBuilder: (context, object, stack) => textWidget,
|
||||
placeHolder: const SizedBox(height: 0),
|
||||
fit: BoxFit.contain,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue