Update README.md

This commit is contained in:
David Peters 2020-08-27 11:47:06 +02:00 committed by GitHub
parent fc5a17d2d9
commit 70a8e136d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 5 deletions

View File

@ -1,6 +1,6 @@
[![Pub](https://img.shields.io/pub/v/miniplayer?color=2196F3)](https://pub.dev/packages/miniplayer)
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.
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.
## Demo
@ -19,7 +19,7 @@ Miniplayer(
},
),
```
#### Default usage
#### Usage without BottomNavigationBar
```dart
import 'package:flutter/material.dart';
@ -60,6 +60,4 @@ class MyApp extends StatelessWidget {
#### Usage with BottomNavigationBar
```
Example coming soon!
```
[See example](example/miniplayer_with_bottomnav/lib/main.dart)