Home > database >  How to make customize switch button with image ? Flutter
How to make customize switch button with image ? Flutter

Time:11-08

I want to know how to customize a switch in Flutter to look like this :

switch button

I don't want to know how to make the shape etc. But how to put an image in the track. I know there are :

inactiveThumbImage
activeThumbImage

But it is not what I want. Maybe something like activeTrackImage, but I didn't find anything in the doc.

CodePudding user response:

you can use Off

ON

On

  • Related