


# SmeupSwitchWidget constructor







SmeupSwitchWidget({[bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) data, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) id, [Function](https://api.flutter.dev/flutter/dart-core/Function-class.html) onClientChange, [Color](https://api.flutter.dev/flutter/dart-ui/Color-class.html) thumbColor, [Color](https://api.flutter.dev/flutter/dart-ui/Color-class.html) trackColor})





## Implementation

```dart
SmeupSwitchWidget(
    {this.data,
    this.id,
    this.onClientChange,
    this.thumbColor,
    this.trackColor});
```







