TabBar question?!

Hi bros,
I am training to make TabBar with two buttons inside ,
My problem I faced is about the position of buttons.
how can I change the position of buttons inside the TabBar widget ?!
Second thing ,the buttons are not sharp on outsider edges,are smoother edges .see the picture I have attach it .how can I control the border of TabBar widget to confirm the shape of buttons?