title: Segments in Flutter
body: <p>Im working on a Flutter app and trying to add a segment to my app. Is it possible to achieve it in Flutter. So i would like 2 different widgets for the 2 buttons. It is similar to the TabBar in Flutter or Segment in native apps</p>
  
  <p><a href="https://i.stack.imgur.com/0kkzK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0kkzK.png" alt="enter image description here"></a></p>