File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -106,9 +106,6 @@ class ToggleSwitch extends StatefulWidget {
106
106
107
107
/// Use toggle switch vertically
108
108
final bool isVertical;
109
-
110
- /// Use icon and label vertically
111
- final bool isVerticalContent;
112
109
113
110
/// Set a border only to the active toggle component
114
111
List <Border ?>? activeBorders;
@@ -156,9 +153,7 @@ class ToggleSwitch extends StatefulWidget {
156
153
this .isVertical = false ,
157
154
this .activeBorders,
158
155
this .centerText = false ,
159
- this .multiLineText = false ,
160
- this .isVerticalContent = false ,
161
- })
156
+ this .multiLineText = false })
162
157
: super (key: key);
163
158
164
159
@override
@@ -444,8 +439,7 @@ class _ToggleSwitchState extends State<ToggleSwitch>
444
439
milliseconds:
445
440
widget.animate ? widget.animationDuration : 0 ),
446
441
curve: widget.curve,
447
- child: RowToColumn (
448
- isVertical: widget.isVerticalContent,
442
+ child: Row (
449
443
mainAxisAlignment: MainAxisAlignment .center,
450
444
children: < Widget > [
451
445
icon,
You can’t perform that action at this time.
0 commit comments