WIP: Cards build optimization

This commit is contained in:
Yegor Vialov
2020-04-25 17:38:21 +00:00
parent f488c0810b
commit 02bfaf7db6
15 changed files with 309 additions and 230 deletions

View File

@ -0,0 +1,20 @@
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()
)
);
}
}