ionicfirebaseapp / getwidget

Most popular and easy to use open source UI library with 1000+ Widgets to build flutter app.
https://www.getwidget.dev
MIT License
4.56k stars 606 forks source link

How to have custom indicator/dots/pagination? #255

Closed variablevariance closed 2 years ago

variablevariance commented 2 years ago

I want to make my own dots, the only option I can find is indicator color and size. I want to make a transparent dot with white border for passiveIndicator.

abhishekk-788 commented 2 years ago

@variablevariance You can now also add border to the dots. Please check the below code.

activeIndicator: Colors.white,
activeDotBorder: Border.all(color: Colors.blue, width: 5),
passiveIndicator: Colors.transparent,
passiveDotBorder: Border.all(color: Colors.white, width: 5),