Skip to content

Commit

Permalink
Merge branch 'master' into custom-lg
Browse files Browse the repository at this point in the history
* master:
  Version 1.4.0. Addresses PR fluttercommunity#701.
  Added Dart Analysis fixes due to Flutter 3.7.
  • Loading branch information
lg8294 committed Apr 11, 2023
2 parents 5f20d39 + 963fc3f commit 225fac7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 1.4.0
* 🛠️ [#701](https://github.com/fluttercommunity/chewie/pull/701): Added Dart Analysis fixes due to Flutter 3.7. Thanks [diegotori](https://github.com/diegotori).

## 1.3.6
* 🛠️ [#681](https://github.com/fluttercommunity/chewie/pull/681): Flutter `3.3` lint fixes. Thanks [diegotori](https://github.com/diegotori).

Expand Down
5 changes: 3 additions & 2 deletions lib/src/material/material_controls.dart
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ class _MaterialControlsState extends State<MaterialControls>
AnimatedOpacity _buildBottomBar(
BuildContext context,
) {
final iconColor = Theme.of(context).textTheme.button!.color;
final iconColor = Theme.of(context).textTheme.labelLarge!.color;

return AnimatedOpacity(
opacity: notifier.hideStuff ? 0.0 : 1.0,
Expand Down Expand Up @@ -607,7 +607,8 @@ class _MaterialControlsState extends State<MaterialControls>
ChewieProgressColors(
playedColor: Theme.of(context).colorScheme.secondary,
handleColor: Theme.of(context).colorScheme.secondary,
bufferedColor: Theme.of(context).backgroundColor.withOpacity(0.5),
bufferedColor:
Theme.of(context).colorScheme.background.withOpacity(0.5),
backgroundColor: Theme.of(context).disabledColor.withOpacity(.5),
),
),
Expand Down
5 changes: 3 additions & 2 deletions lib/src/material/material_desktop_controls.dart
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ class _MaterialDesktopControlsState extends State<MaterialDesktopControls>
AnimatedOpacity _buildBottomBar(
BuildContext context,
) {
final iconColor = Theme.of(context).textTheme.button!.color;
final iconColor = Theme.of(context).textTheme.labelLarge!.color;

return AnimatedOpacity(
opacity: notifier.hideStuff ? 0.0 : 1.0,
Expand Down Expand Up @@ -586,7 +586,8 @@ class _MaterialDesktopControlsState extends State<MaterialDesktopControls>
ChewieProgressColors(
playedColor: Theme.of(context).colorScheme.secondary,
handleColor: Theme.of(context).colorScheme.secondary,
bufferedColor: Theme.of(context).backgroundColor.withOpacity(0.5),
bufferedColor:
Theme.of(context).colorScheme.background.withOpacity(0.5),
backgroundColor: Theme.of(context).disabledColor.withOpacity(.5),
),
),
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: chewie
description: A video player for Flutter with Cupertino and Material play controls
version: 1.3.6
version: 1.4.0
homepage: https://github.com/fluttercommunity/chewie

environment:
Expand Down

0 comments on commit 225fac7

Please sign in to comment.