mirror of
https://gitlab.com/mysocialportal/relatica
synced 2024-10-18 11:13:31 +00:00
Fix overflow issue
This commit is contained in:
parent
d5c54126bf
commit
c9138ce92b
1 changed files with 6 additions and 2 deletions
|
@ -70,6 +70,10 @@ class _MediaKitAvControlState extends State<MediaKitAvControl> {
|
|||
setState(() {});
|
||||
}
|
||||
|
||||
double get height => widget.height - 50;
|
||||
|
||||
double get width => widget.width;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
print('Building MediaKit Control');
|
||||
|
@ -86,8 +90,8 @@ class _MediaKitAvControlState extends State<MediaKitAvControl> {
|
|||
children: [
|
||||
Video(
|
||||
controller: controller,
|
||||
width: widget.width,
|
||||
height: widget.height,
|
||||
width: width,
|
||||
height: height,
|
||||
),
|
||||
Row(
|
||||
children: [
|
||||
|
|
Loading…
Reference in a new issue