Skip to content

Commit e809214

Browse files
Merge pull request #15 from boringdeveloper/0.1.x
Added features for version 0.1.6
2 parents eecf3cc + b426595 commit e809214

8 files changed

Lines changed: 572 additions & 204 deletions

File tree

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,17 @@
2626
## [0.1.4] - October 25, 2020
2727

2828
* Handling of state when no changes was made
29+
30+
## [0.1.5] - October 25, 2020
31+
32+
* Fix an issue where the conditional statement is ignored in the first tap of the switch
33+
34+
## [0.1.6-beta] - December 10, 2020
35+
36+
* Added switch and toggle border property. Now you can try to give your switch a toon-like feel
37+
38+
## [0.1.6-beta.1] - December 10, 2020
39+
40+
* Update Readme
41+
* Added toggle icon property
42+
* Added sample usage of custom border and icons in /example

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22

33
[![pub package](https://img.shields.io/pub/v/flutter_switch.svg)](https://pub.dev/packages/flutter_switch) [![pub points](https://badges.bar/flutter_switch/pub%20points)](https://pub.dev/packages/flutter_switch/score) [![popularity](https://badges.bar/flutter_switch/popularity)](https://pub.dev/packages/flutter_switch/score) [![likes](https://badges.bar/flutter_switch/likes)](https://pub.dev/packages/flutter_switch/score) <a href="https://github.com/boringdeveloper/FlutterSwitch/actions"><img src="https://img.shields.io/github/workflow/status/boringdeveloper/FlutterSwitch/Widget%20Test?label=build"></a>
44

5-
An easy to implement custom switch created for Flutter. You can have a customized height and width, border radius, colors, toggle size and choice to display an 'On' and 'Off' text.
5+
An easy to implement custom switch created for Flutter. Give it a custom height and width, border for the switch and toggle, border radius, colors, toggle size, a choice to display an 'On' and 'Off' text and able to add an icon inside the toggle.
66

77
[![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>
88

99
## Demo
1010

11-
![flutter_switch](https://media.giphy.com/media/Q5FEklNzESXNbHwZ40/giphy.gif)
11+
![flutter_switch](https://media0.giphy.com/media/zQ7AwA3SiAzqiFCW1o/giphy.gif)
12+
13+
Video version: https://youtu.be/JqJnxjE6Efc
1214

1315

1416
## Use this package as a library
@@ -17,7 +19,7 @@ Add this to your package's `pubspec.yaml` file:
1719

1820
```yaml
1921
dependencies:
20-
flutter_switch: ^0.1.4
22+
flutter_switch: ^0.1.6
2123
```
2224
2325
You can install packages from the command line with Flutter:

0 commit comments

Comments
 (0)