Update README.md
This commit is contained in:
parent
9e6dd01e02
commit
118e6e5c09
14
README.md
14
README.md
|
@ -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'),
|
||||
);
|
||||
},
|
||||
),
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue