Pyozer / dots_indicator

Add an indicator for a progression. You can customize indicators (shape, color, ..)
https://pub.dartlang.org/packages/dots_indicator
MIT License
153 stars 36 forks source link

Active Color cannot be set from Theme.of(context).primaryColor due to invalid constant value. Please fix this. #12

Closed ankitkarna99 closed 2 years ago

ankitkarna99 commented 4 years ago

Letting you know because, we don't like to use same color code again and again.

Pyozer commented 2 years ago

Hi, so sorry for delay :/ i don't really understand/see the issue, obviously, you cannot use Theme.of(context).primaryColor and set the decorator param with a const, like decorator: const DotsDecorator(color: Theme.of(context).primaryColor).

I close the issue assuming it's too old, but if you want to made a new issue about this, no problem.