Просмотр исходного кода

Remove unfinished fit property

Ben Hagen 6 лет назад
Родитель
Сommit
19d56102c1
3 измененных файлов с 5 добавлено и 4 удалено
  1. 4 0
      CHANGELOG.md
  2. 0 3
      lib/src/chewie_player.dart
  3. 1 1
      pubspec.yaml

+ 4 - 0
CHANGELOG.md

@@ -1,5 +1,9 @@
 # Changelog
 
+## 0.9.5
+
+  * Cosmetic change -> remove unfinished fit property which slipped into the last release
+
 ## 0.9.4
 
   * Add overlay option to place a widget between the video and the controls

+ 0 - 3
lib/src/chewie_player.dart

@@ -155,7 +155,6 @@ class ChewieController extends ChangeNotifier {
     this.materialProgressColors,
     this.placeholder,
     this.overlay,
-    this.fit = BoxFit.contain,
     this.showControls = true,
     this.customControls,
     this.allowedScreenSleep = true,
@@ -217,8 +216,6 @@ class ChewieController extends ChangeNotifier {
   /// A widget which is placed between the video and the controls
   final Widget overlay;
 
-  /// How to fit
-  final BoxFit fit;
 
   /// Defines if the player will start in fullscreen when play is pressed
   final bool fullScreenByDefault;

+ 1 - 1
pubspec.yaml

@@ -1,6 +1,6 @@
 name: chewie
 description: A video player for Flutter with Cupertino and Material play controls
-version: 0.9.4
+version: 0.9.5
 homepage: https://github.com/brianegan/chewie
 authors:
   - Brian Egan <brian@brianegan.com>