Skip to content

Commit 043aecf

Browse files
committed
null safety release
1 parent 6536913 commit 043aecf

3 files changed

Lines changed: 36 additions & 31 deletions

File tree

CHANGELOG.md

Lines changed: 34 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,53 @@
1-
## [0.1.0] - May 10, 2020
1+
## [0.3.0-nullsafety.0] - March 06, 2021
22

3-
* Custom switch height and width
4-
* Custom acitve or inactive switch color
5-
* Custom toggle color
6-
* Custom toggle size
7-
* Custom switch border radius
8-
* Custom switch padding
9-
* Choice to display 'on' or 'off' value inside the switch
10-
* Custom active or inactive value color
3+
* Migrated to null safety. Beware for possible breaking changes.
114

12-
## [0.1.1] - June 28, 2020
5+
## [0.2.2] - March 06, 2021
136

14-
* Custom switch active and inactive text
7+
* Made toggle animation smoother
8+
* Opacity animation for switch texts and icons
9+
* Added duration property
1510

16-
## [0.1.2] - September 21, 2020
11+
## [0.2.1] - February 16, 2021
1712

18-
* Dispose of animation controller
13+
* Handling the display of the switch in the AppBar
1914

20-
## [0.1.3] - September 26, 2020
15+
## [0.2.0] - December 12, 2020
2116

22-
* Handling of state was fixed
23-
* Added comments for each property
24-
* Added active and inactive font weight property
17+
* Added switch and toggle border property. Now you can try to give your switch a toon-like feel
18+
* Update Readme
19+
* Added toggle icon property
20+
* Added sample usage of custom border and icons in /example
21+
22+
## [0.1.5] - October 25, 2020
23+
24+
* Fix an issue where the conditional statement is ignored in the first tap of the switch
2525

2626
## [0.1.4] - October 25, 2020
2727

2828
* Handling of state when no changes was made
2929

30-
## [0.1.5] - October 25, 2020
30+
## [0.1.3] - September 26, 2020
3131

32-
* Fix an issue where the conditional statement is ignored in the first tap of the switch
32+
* Handling of state was fixed
33+
* Added comments for each property
34+
* Added active and inactive font weight property
3335

34-
## [0.2.0] - December 12, 2020
36+
## [0.1.2] - September 21, 2020
3537

36-
* Added switch and toggle border property. Now you can try to give your switch a toon-like feel
37-
* Update Readme
38-
* Added toggle icon property
39-
* Added sample usage of custom border and icons in /example
38+
* Dispose of animation controller
4039

41-
## [0.2.1] - February 16, 2021
40+
## [0.1.1] - June 28, 2020
4241

43-
* Handling the display of the switch in the AppBar
42+
* Custom switch active and inactive text
4443

45-
## [0.2.2] - March 06, 2021
44+
## [0.1.0] - May 10, 2020
4645

47-
* Made toggle animation smoother
48-
* Opacity animation for switch texts and icons
46+
* Custom switch height and width
47+
* Custom acitve or inactive switch color
48+
* Custom toggle color
49+
* Custom toggle size
50+
* Custom switch border radius
51+
* Custom switch padding
52+
* Choice to display 'on' or 'off' value inside the switch
53+
* Custom active or inactive value color

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ packages:
6868
path: ".."
6969
relative: true
7070
source: path
71-
version: "0.2.2"
71+
version: "0.3.0-nullsafety.0"
7272
flutter_test:
7373
dependency: "direct dev"
7474
description: flutter

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_switch
22
description: A custom switch widget that can have a custom height and width, borders, border radius, colors, toggle size, custom text and icons inside the toggle.
3-
version: 0.2.2
3+
version: 0.3.0-nullsafety.0
44
homepage: https://github.com/boringdeveloper/FlutterSwitch
55

66
environment:

0 commit comments

Comments
 (0)