thumbChild property

(Widget Function(BuildContext, bool)?) thumbChild
final

If thumbChild is not null, it will be used as decoration of the thumb widget

As parameter it will receive the current value of the switch

Implementation

final Widget Function(BuildContext, bool)? thumbChild;