santa112358 / story

Instagram stories like UI with rich animations and customizability.
https://pub.dev/packages/story
MIT License
42 stars 61 forks source link

How can we change the style or colour of progress indicator ? #37

Open smit-locusnine opened 2 years ago

santa112358 commented 2 years ago

@smit-locusnine From 0.8.0, you can change the colors by

  ///  visited color of [Indicators]
  final Color indicatorVisitedColor;

  ///  unvisited color of [Indicators]
  final Color indicatorUnvisitedColor;
lawkeen commented 2 years ago

Hi, can you change the variables

final Color indicatorVisitedColor and final Color indicatorUnvisitedColor;

to Color Function(int storyIndex)

then we will be able to change the colors of the indicators for different stories. Can this be added?