File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,8 @@ class AudioContentElement extends ReplacedElement {
115
115
Widget toWidget (RenderContext context) {
116
116
return Container (
117
117
width: context.style.width ?? 300 ,
118
- height: 48 ,
118
+ height: Theme .of (context.buildContext).platform == TargetPlatform .android
119
+ ? 48 : 75 ,
119
120
child: ChewieAudio (
120
121
controller: ChewieAudioController (
121
122
videoPlayerController: VideoPlayerController .network (
Original file line number Diff line number Diff line change @@ -27,10 +27,7 @@ dependencies:
27
27
28
28
# Plugins for rendering the <audio> tag.
29
29
# todo remove github dependency
30
- chewie_audio :
31
- git :
32
- url : https://github.com/tneotia/chewie_audio-1.git
33
- ref : nullsafety
30
+ chewie_audio : ^1.2.0
34
31
35
32
# Plugins for rendering the <svg> tag.
36
33
flutter_svg : ^0.21.0-nullsafety.0
You can’t perform that action at this time.
0 commit comments