Skip to content

Commit 43cb14b

Browse files
committed
gf-progress bar comments aligned
1 parent e61366a commit 43cb14b

File tree

1 file changed

+19
-20
lines changed

1 file changed

+19
-20
lines changed

lib/components/progress_bar/gf_progress_bar.dart

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -41,44 +41,43 @@ class GFProgressBar extends StatefulWidget {
4141
}
4242
}
4343

44-
///width of the Progress bar
44+
/// width of the Progress bar
4545
final double width;
4646

47-
///Height of the Progress Bar
47+
/// Height of the Progress Bar
4848
final double lineHeight;
4949

50-
///type of [Color] or GFColors used to change the backgroundColor of the progress bar
51-
final dynamic backgroundColor;
50+
/// type of [Color] or GFColors used to change the backgroundColor of the progress bar
51+
final Color backgroundColor;
5252

53-
///type of Color , used to change the color of the active progress line
53+
/// type of Color , used to change the color of the active progress line
5454
final Color progressBarColor;
5555

56-
///type of bool which allows the progress line to animate when the percentage values are changed
56+
/// type of bool which allows the progress line to animate when the percentage values are changed
5757
final bool animation;
5858

59-
///duration of the animation in milliseconds, It only applies if animation attribute is true
59+
/// duration of the animation in milliseconds, It only applies if animation attribute is true
6060
final int animationDuration;
6161

62-
///type of Widget which can be used in the first place before the progress bar
62+
/// type of Widget which comes before the progress bar
6363
final Widget leading;
6464

65-
///type of Widget which can be used in the last place after the progress bar
65+
/// type of Widget which comes after the progress bar
6666
final Widget trailing;
6767

68-
///type of Widget which can be text , icon etc which is generally used to show the percentage of progress complete
68+
/// type of Widget which can be text , icon etc which is generally used to show the percentage of progress complete
6969
final Widget child;
7070

71-
///type of MainAxisAlignment used to align the leading, trailing and the progress bar in a fashion
71+
/// type of MainAxisAlignment used to align the leading, trailing and the progress bar in a fashion
7272
final MainAxisAlignment alignment;
7373

74-
///type of EdgeInsets which gives padding to the GFProgressBar
74+
/// type of EdgeInsets which gives padding to the GFProgressBar
7575
final EdgeInsets padding;
7676

7777
/// set true if you want to animate the progress bar from the last percentage value you set
7878
final bool animateFromLastPercentage;
7979

8080
/// If present, this will make the progress bar colored by this gradient.
81-
///
8281
/// This will override [progressBarColor]. It is an error to provide both.
8382
final LinearGradient linearGradient;
8483

@@ -95,25 +94,25 @@ class GFProgressBar extends StatefulWidget {
9594
/// If no [linearGradient] is specified this option is ignored.
9695
final bool clipLinearGradient;
9796

98-
///type of [GFProgressType] which changes the shape of progress bar based on the type ie, circular and linear
97+
/// type of [GFProgressType] which changes the shape of progress bar based on the type ie, circular and linear
9998
final GFProgressType type;
10099

101-
///type of [GFProgressHeadType] which changes the shape of progress head based on the type ie, circular and square
100+
/// type of [GFProgressHeadType] which changes the shape of progress head based on the type ie, circular and square
102101
final GFProgressHeadType progressHeadType;
103102

104-
///type of double which defines the thickness of the circle's arc in Circular Progress bar
103+
/// type of double which defines the thickness of the circle's arc in Circular Progress bar
105104
final double circleWidth;
106105

107-
///type of double in which the angle on the circle starts to progress (in degrees, eg: 0.0, 45.0, 90.0)
106+
/// type of double in which the angle on the circle starts to progress (in degrees, eg: 0.0, 45.0, 90.0)
108107
final double circleStartAngle;
109108

110-
///type of bool used to display the progress in reverse direction
109+
/// type of bool used to display the progress in reverse direction
111110
final bool reverse;
112111

113-
///type of double used to show the radius of Circular Progress Bar
112+
/// type of double used to show the radius of Circular Progress Bar
114113
final double radius;
115114

116-
///type of double which should be from 0 to 1 to indicate the progress of the ProgressBars
115+
/// type of double which should be from 0 to 1 to indicate the progress of the ProgressBars
117116
final double percentage;
118117

119118
@override

0 commit comments

Comments
 (0)