From c2c2984b185c8ebb967451b39a01f8c3eb9e8242 Mon Sep 17 00:00:00 2001 From: David Peters <46222898+peterscodee@users.noreply.github.com> Date: Thu, 24 Sep 2020 20:16:03 +0200 Subject: [PATCH] Update README.md --- README.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 7d74840..fc05205 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Miniplayer(
Miniplayer(
onDismiss: () {
- //If onDismiss is set,
- //the miniplayer can be dismissed
//Handle onDismissed here
},
),
@@ -47,6 +45,7 @@ Miniplayer(
+ If onDismiss is set, the miniplayer can be dismissed
-//Allows you to use a global ValueNotifier
-//with the current progress.
-//Can be used to hide the BottomNavigationBar.
-final ValueNotifier playerExpandProgress =
+final ValueNotifier<double> playerExpandProgress =
ValueNotifier(playerMinHeight);
-
-
+
Miniplayer(
valueNotifier: playerExpandProgress,
),
@@ -68,6 +63,7 @@ Miniplayer(
Allows you to use a global ValueNotifier with the current progress. This can be used to hide the BottomNavigationBar.