mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-14 01:37:07 -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
|
|
@ -13,7 +13,13 @@ import 'package:fladder/util/fladder_image.dart';
|
|||
class DetailsScreen extends ConsumerStatefulWidget {
|
||||
final String id;
|
||||
final ItemBaseModel? item;
|
||||
const DetailsScreen({@QueryParam() this.id = '', this.item, super.key});
|
||||
final Object? tag;
|
||||
const DetailsScreen({
|
||||
@QueryParam() this.id = '',
|
||||
this.item,
|
||||
this.tag,
|
||||
super.key,
|
||||
});
|
||||
|
||||
@override
|
||||
ConsumerState<ConsumerStatefulWidget> createState() => _DetailsScreenState();
|
||||
|
|
@ -66,7 +72,7 @@ class _DetailsScreenState extends ConsumerState<DetailsScreen> {
|
|||
key: Key(widget.id),
|
||||
children: [
|
||||
Hero(
|
||||
tag: widget.id,
|
||||
tag: widget.tag ?? UniqueKey(),
|
||||
child: Container(
|
||||
decoration: BoxDecoration(
|
||||
color: Theme.of(context).colorScheme.surface.withValues(alpha: 1.0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue