Update README.md

This commit is contained in:
David Peters 2020-07-30 17:02:14 +02:00 committed by GitHub
parent 9e6dd01e02
commit 118e6e5c09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 2 deletions

View File

@ -2,6 +2,16 @@
A lightweight flutter package providing a miniplayer widget which resizes according to drag gestures and returns a builder function with the current height and percentage progress.
## Getting Started
## Usuage
Package description will be added soon!
```dart
Miniplayer(
minHeight: 70,
maxHeight: 370,
builder: (height, percentage) {
return Center(
child: Text('$height, $percentage'),
);
},
),
```