hadukin / custom_sliding_segmented_control

custom_sliding_segmented_control
https://pub.dev/packages/custom_sliding_segmented_control
MIT License
39 stars 22 forks source link

How to disable the ripple effect on the unselected option #45

Open ferenc-hoola opened 1 month ago

ferenc-hoola commented 1 month ago

Is it possible to update the style of the active state of the options. I would like to disable the ripple effect, so when the user clicks on an option it should just stay white.

tab example

hadukin commented 3 weeks ago

@ferenc-hoola hi, you have the opportunity to add a sample code

Ryanhuang1124 commented 2 days ago

@ferenc-hoola

Theme(
      data: ThemeData(
        splashColor: Colors.transparent,
      ),
      child: CustomSlidingSegmentedControl<int>(