Home > Back-end >  I want to use only the border at the bottom of my flutter toggle buttons
I want to use only the border at the bottom of my flutter toggle buttons

Time:08-08

enter image description here

CodePudding user response:

Do not use a toggle widget, according to the design the best widget to use is TabBar, which by default applies a border only at the bottom, you can also change the color of it:

indicatorColor: Colors.red,

Here is some resources about TabBar widget:

Tab Bar by Mitch Koko

Flutter Widget of the Week

Official Flutter Documentation

  • Related