title: Using PageView in flutter with dot indicator, on swiping every page need to change the button also just like in ninjacart app
body: <p>Using PageView in a flutter with dot indicator, on swiping every page need to change the button also just like in NinjaCart app.</p>
  <p>For example like page 2 button is &quot;Next&quot;, on third-page button is&quot; capture&quot;</p>
  <img src="https://i.stack.imgur.com/prUYB.png" width="300">