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(() {});
|
setState(() {});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
double get height => widget.height - 50;
|
||||||
|
|
||||||
|
double get width => widget.width;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
print('Building MediaKit Control');
|
print('Building MediaKit Control');
|
||||||
|
@ -86,8 +90,8 @@ class _MediaKitAvControlState extends State<MediaKitAvControl> {
|
||||||
children: [
|
children: [
|
||||||
Video(
|
Video(
|
||||||
controller: controller,
|
controller: controller,
|
||||||
width: widget.width,
|
width: width,
|
||||||
height: widget.height,
|
height: height,
|
||||||
),
|
),
|
||||||
Row(
|
Row(
|
||||||
children: [
|
children: [
|
||||||
|
|
Loading…
Reference in a new issue