Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42d3a72 commit 87e1575Copy full SHA for 87e1575
packages/flutter_html_video/lib/flutter_html_video.dart
@@ -25,10 +25,10 @@ class VideoWidget extends StatefulWidget {
25
final RenderContext context;
26
final VideoControllerCallback? callback;
27
28
- VideoWidget({
+ const VideoWidget({Key? key,
29
required this.context,
30
this.callback,
31
- });
+ }) : super(key: key);
32
33
@override
34
State<StatefulWidget> createState() => _VideoWidgetState();
@@ -83,7 +83,7 @@ class _VideoWidgetState extends State<VideoWidget> {
83
84
Widget build(BuildContext bContext) {
85
if (_chewieController == null) {
86
- return Container(height: 0, width: 0);
+ return const SizedBox(height: 0, width: 0);
87
}
88
final child = Container(
89
key: widget.context.key,
0 commit comments