Browse Source

视频缩放适配更改

ff_new
w-R 3 years ago
parent
commit
fd04f86c50
  1. 6
      lib/community/community_view/class_details.dart

6
lib/community/community_view/class_details.dart

@ -425,8 +425,10 @@ class _ClassDetails extends State<ClassDetails> with WidgetsBindingObserver {
child: Stack(children: [ child: Stack(children: [
(chewieAudioController != null (chewieAudioController != null
? Container( ? Container(
color: Colors.black,
width: width, width: width,
height: height, // height:
height: width / 7 * 5,
child: chewies = Chewie( child: chewies = Chewie(
controller: chewieAudioController, controller: chewieAudioController,
), ),
@ -446,7 +448,7 @@ class _ClassDetails extends State<ClassDetails> with WidgetsBindingObserver {
}, },
child: Container( child: Container(
width: width, width: width,
height: width / 7 * 6, height: width / 7 * 5,
color: Colors.black, color: Colors.black,
child: Stack( child: Stack(
children: [ children: [

Loading…
Cancel
Save