diff --git a/lib/src/widget/toggle.dart b/lib/src/widget/toggle.dart index cfb560e0..a6922312 100644 --- a/lib/src/widget/toggle.dart +++ b/lib/src/widget/toggle.dart @@ -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(