Skip to content

Commit

Permalink
Merge pull request #2 from Sulisong/master
Browse files Browse the repository at this point in the history
fix duplicate controls
  • Loading branch information
boroskoyo authored Aug 23, 2022
2 parents 87d2ca3 + 8914343 commit 620a28e
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions lib/src/widget/toggle.dart
Original file line number Diff line number Diff line change
Expand Up @@ -193,15 +193,7 @@ class NeumorphicToggle extends StatelessWidget {
child: FractionallySizedBox(
widthFactor: 1 / this.children.length,
heightFactor: 1,
child: Neumorphic(
style: NeumorphicStyle(
boxShape: NeumorphicBoxShape.roundRect(
this.style?.borderRadius ??
BorderRadius.all(Radius.circular(12))),
),
margin: this.padding,
child: this.thumb,
),
child: this.thumb,
),
),
Row(
Expand Down

0 comments on commit 620a28e

Please sign in to comment.