Closed binhodev closed 1 year ago
I found a workarround setting a DefaultTextStyle
example:
DefaultTextStyle( child: BetterPlayer(controller: _betterPlayerController), style: const TextStyle(decoration: TextDecoration.none)),
@silvinhofranca This is a case of using a material widget in a non-material parent wedget. to solve the problem you need to wrap a Material widget outside the player:
Material(
child: BetterPlayer(
#add some your code
.................
),
);
History check Please confirm that you've checked issues history and you didn't find anything which may solve your issue.
Describe the bug When I add subtitles in either SRT or Webvtt, these double lines (underlines) appear.
*Example code
Expected behavior That the subtitles were displayed normally.
Screenshots
Flutter doctor
Better Player version
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.