Skip to content

Commit efde36e

Browse files
committed
2 parents 1dea3f0 + 5528ced commit efde36e

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# flutter_switch
22

3-
A Custom Switch package created for Flutter.
3+
An easy to implement custom switch created for Flutter. You can have a customized the height and width, border radius, colors, toggle size and choice to display an 'On' and 'Off' text.
44

55
[![GitHub followers](https://img.shields.io/github/followers/boringdeveloper.svg?style=social&label=Follow)](https://github.com/boringdeveloper) <a href="https://www.linkedin.com/in/nichole-john-talban-romero/"><img src="https://image.flaticon.com/icons/svg/174/174857.svg" width="20"></a> <a href="https://www.facebook.com/nickrgamer04/"><img src="https://image.flaticon.com/icons/svg/174/174848.svg" width="20"></a>
66

@@ -9,15 +9,20 @@ A Custom Switch package created for Flutter.
99
![flutter_switch](https://media.giphy.com/media/Q5FEklNzESXNbHwZ40/giphy.gif)
1010

1111

12-
## Installation
12+
## Use this package as a library
1313

14-
In the `dependencies:` section of your `pubspec.yaml`, add the following line:
14+
Add this to your package's `pubspec.yaml` file:
1515

1616
```yaml
1717
dependencies:
1818
flutter_switch: ^0.0.3
1919
```
2020
21+
You can install packages from the command line with Flutter:
22+
```bash
23+
$ flutter pub get
24+
```
25+
2126
Import in your project:
2227
```dart
2328
import 'package:flutter_switch/flutter_switch.dart';

0 commit comments

Comments
 (0)