Skip to content

Commit 620a28e

Browse files
authored
Merge pull request #2 from Sulisong/master
fix duplicate controls
2 parents 87d2ca3 + 8914343 commit 620a28e

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

lib/src/widget/toggle.dart

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -193,15 +193,7 @@ class NeumorphicToggle extends StatelessWidget {
193193
child: FractionallySizedBox(
194194
widthFactor: 1 / this.children.length,
195195
heightFactor: 1,
196-
child: Neumorphic(
197-
style: NeumorphicStyle(
198-
boxShape: NeumorphicBoxShape.roundRect(
199-
this.style?.borderRadius ??
200-
BorderRadius.all(Radius.circular(12))),
201-
),
202-
margin: this.padding,
203-
child: this.thumb,
204-
),
196+
child: this.thumb,
205197
),
206198
),
207199
Row(

0 commit comments

Comments
 (0)