This repository has been archived on 2023-11-18. You can view files and clone it, but cannot push or open issues or pull requests.
ha_client/lib/cards/media_control_card.dart
2020-04-25 17:38:21 +00:00

20 lines
415 B
Dart

part of '../main.dart';
class MediaControlsCard extends StatelessWidget {
final HACard card;
const MediaControlsCard({Key key, this.card}) : super(key: key);
@override
Widget build(BuildContext context) {
return CardWrapper(
child: EntityModel(
entityWrapper: card.linkedEntityWrapper,
handleTap: null,
child: MediaPlayerWidget()
)
);
}
}