JHBitencourt / timeline_tile

A package to help build customisable timelines in Flutter.
https://pub.dev/packages/timeline_tile
MIT License
743 stars 146 forks source link

circular progress indicator not working inside custom indicator widget #36

Closed Anas-jed closed 3 years ago

Anas-jed commented 3 years ago

I have tried running a circular progress indicator inside custom indicator widget but it remains static... Basically what i need is like in Example Horizontal Timelines

Code ``` TimelineTile( alignment: TimelineAlign.manual, lineXY: 0, isFirst: true, endChild: Padding( padding: const EdgeInsets.all(24), child: Text( 'Order Requested', style: TextStyle(color: goldenColor), ), ), hasIndicator: true, indicatorStyle: IndicatorStyle( width: 35, height: 35, drawGap: true, padding: const EdgeInsets.all(15), color: goldenColor, indicator: Container( height: 20, width: 20, color: primaryAppColor, child: Center( child: Padding( padding: const EdgeInsets.all(8.0), child: CircularProgressIndicator( backgroundColor: goldenColor, strokeWidth: 3.0, color: goldenColor, ), ), ), ), ), /*startChild: Container( color: Colors.amberAccent, ),*/ ) ```
Anas-jed commented 3 years ago

this was my mistake, I have checked it, basically, if we give circular progress indicator a background color then it becomes static somehow, anyway thank you for such a package, closing this issue.