Skip to content

Commit a38613a

Browse files
committed
reactive_cupertino_switch 3.0.0
1 parent 713e663 commit a38613a

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-5
lines changed

packages/reactive_cupertino_switch/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## [3.0.0]
2+
3+
* migrate deprecations
4+
5+
## [2.1.3]
6+
7+
* rollback migrate deprecations
8+
9+
## [2.1.2]
10+
11+
* migrate deprecations
12+
113
## [2.1.0]
214

315
* update api

packages/reactive_cupertino_switch/lib/reactive_cupertino_switch.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ class ReactiveCupertinoSwitch<T> extends ReactiveFocusableFormField<T, bool> {
8888
// InputDecoration? decoration = const InputDecoration(),
8989
Key? widgetKey,
9090
DragStartBehavior dragStartBehavior = DragStartBehavior.start,
91-
Color? activeColor,
92-
Color? trackColor,
91+
Color? activeTrackColor,
92+
Color? inactiveTrackColor,
9393
Color? thumbColor,
9494
Color? focusColor,
9595
Color? onLabelColor,
@@ -108,8 +108,8 @@ class ReactiveCupertinoSwitch<T> extends ReactiveFocusableFormField<T, bool> {
108108
key: widgetKey,
109109
value: field.value ?? false,
110110
onChanged: field.didChange,
111-
activeColor: activeColor,
112-
trackColor: trackColor,
111+
activeTrackColor: activeTrackColor,
112+
inactiveTrackColor: inactiveTrackColor,
113113
dragStartBehavior: dragStartBehavior,
114114
thumbColor: thumbColor,
115115
applyTheme: applyTheme,

packages/reactive_cupertino_switch/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: reactive_cupertino_switch
22
description: Wrapper around CupertinoSwitch to use with reactive_forms.
3-
version: 2.1.0
3+
version: 3.0.0
44
repository: https://github.com/artflutter/reactive_forms_widgets/tree/master/packages/reactive_cupertino_switch
55
issue_tracker: https://github.com/artflutter/reactive_forms_widgets/issues
66

0 commit comments

Comments
 (0)