refactor: remove old BoxFit code

This commit is contained in:
edde746
2025-12-09 16:50:07 +01:00
parent 3eedb615ef
commit 8b3024b71a
3 changed files with 0 additions and 20 deletions
-5
View File
@@ -14,7 +14,6 @@ import '../player/video_rect_support.dart';
///
/// Video(
/// player: player,
/// fit: BoxFit.contain,
/// controls: (context) => MyCustomControls(),
/// )
/// ```
@@ -22,9 +21,6 @@ class Video extends StatefulWidget {
/// The player instance.
final Player player;
/// How the video should be inscribed into the widget's box.
final BoxFit fit;
/// Builder for custom video controls overlay.
final Widget Function(BuildContext context)? controls;
@@ -34,7 +30,6 @@ class Video extends StatefulWidget {
const Video({
super.key,
required this.player,
this.fit = BoxFit.contain,
this.controls,
this.backgroundColor = Colors.black,
});