@@ -9,14 +9,14 @@ class GFProgressBar extends StatefulWidget {
99 this .percentage = 0.2 ,
1010 this .circleWidth = 5.0 ,
1111 this .circleStartAngle = 0.0 ,
12- @required this .radius,
12+ this .radius,
1313 this .backgroundColor = const Color (0xFFB8C7CB ),
1414 Color progressBarColor,
1515 this .linearGradient,
1616 this .animation = false ,
1717 this .animationDuration = 500 ,
1818 this .child,
19- this .autoAlive = true ,
19+ this .autoLive = true ,
2020 this .animateFromLastPercentage = false ,
2121 this .reverse = false ,
2222 this .mask,
@@ -44,13 +44,13 @@ class GFProgressBar extends StatefulWidget {
4444 }
4545
4646
47- ///width of the Circular Progress bar
47+ ///width of the Progress bar
4848 final double width;
4949
50- ///Height of the Linear Progress Bar
50+ ///Height of the Progress Bar
5151 final double lineHeight;
5252
53- ///type of dynamic , backgroundColor used to change the backgroundColor of the progress bar
53+ ///type of [Color] or [GFColor] used to change the backgroundColor of the progress bar
5454 final dynamic backgroundColor;
5555
5656 Color get progressBarColor => _progressBarColor;
@@ -70,7 +70,7 @@ class GFProgressBar extends StatefulWidget {
7070 ///type of Widget which can be used in the last place after the progress bar
7171 final Widget trailing;
7272
73- ///type of Widget which is used to identity the percentage of progress complete
73+ ///type of Widget which can be text , icon etc which is generally used to show the percentage of progress complete
7474 final Widget child;
7575
7676 ///type of MainAxisAlignment used to align the leading, trailing and the progress bar in a fashion
@@ -88,7 +88,7 @@ class GFProgressBar extends StatefulWidget {
8888 final LinearGradient linearGradient;
8989
9090 /// set false if you don't want to preserve the state of the widget
91- final bool autoAlive ;
91+ final bool autoLive ;
9292
9393 /// set true if you want to animate the linear bar from the right to left
9494 final bool fromRightToLeft;
@@ -106,7 +106,7 @@ class GFProgressBar extends StatefulWidget {
106106 ///type of [GFProgressHeadType] which changes the shape of progress head based on the type ie, circular and square
107107 final GFProgressHeadType progressHeadType;
108108
109- ///type of double which defines the width of the Circle in CircularProgressBar
109+ ///type of double which defines the width of the arc Circle in CircularProgressBar
110110 final double circleWidth;
111111
112112 ///type of double in which the angle on the circle starts to progress (in degrees, eg: 0.0, 45.0, 90.0)
@@ -305,7 +305,7 @@ class _GFProgressBarState extends State<GFProgressBar>
305305 }
306306
307307 @override
308- bool get wantKeepAlive => widget.autoAlive ;
308+ bool get wantKeepAlive => widget.autoLive ;
309309}
310310
311311class LinearPainter extends CustomPainter {
0 commit comments