SwichWidget constructor
const
SwichWidget({
- Key? key,
- required bool value,
- required dynamic onChanged(),
- String? titulo,
- Color? activeColor,
- Color? activeTrackColor,
- Color? inactiveThumbColor,
- Color? inactiveTrackColor,
- WidgetStateProperty<
Color?> ? thumbColor, - WidgetStateProperty<
Color?> ? trackColor, - WidgetStateProperty<
Color?> ? trackOutlineColor,

Implementation
const SwichWidget({
super.key,
required this.value,
required this.onChanged,
this.titulo,
this.activeColor,
this.activeTrackColor,
this.inactiveThumbColor,
this.inactiveTrackColor,
this.thumbColor,
this.trackColor,
this.trackOutlineColor,
});