diff --git a/README.md b/README.md index 7d74840..fc05205 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Miniplayer( Parameter Implementation - Demo + Explanation onDismiss @@ -38,8 +38,6 @@ 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

@@ -54,13 +53,9 @@ Miniplayer( valueNotifier
-//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.