diff --git a/README.md b/README.md index dc88587..1de9dfc 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ A lightweight flutter package to simplify the creation of a miniplayer by providing a builder function with the current height and percentage progress. The widget responds to tap and drag gestures and is highly customizable. **What is a miniplayer?** -Miniplayers are commonly used in media applications(e.g. Spotify, Youtube). A miniplayer can be expanded and minified and remains on the screen when minified until dismissed by the user. +Miniplayers are commonly used in media applications like Spotify and Youtube. A miniplayer can be expanded and minified and remains on the screen when minified until dismissed by the user. See the demo below for an example. ## Demo @@ -23,12 +23,12 @@ Miniplayer( ), ``` -##Options +## Options
onDismiss | -+ |
Miniplayer(
onDismiss: () {
@@ -39,27 +39,10 @@ Miniplayer(
),
|
- + | |
onDismiss | -
-
- Miniplayer(
- onDismiss: () {
- //If onDismiss is set,
- //the miniplayer can be dismissed
- //Handle onDismissed here e.g.
- },
- ),
-
- |
- - - | -