Skip to content

Commit cc785c9

Browse files
Sandip KakadiyaSandip Kakadiya
authored andcommitted
code analyzed and formatted
1 parent c76c394 commit cc785c9

9 files changed

Lines changed: 18 additions & 18 deletions

lib/position/gf_position.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/// [GFPosition] is used to position the icon, badges to start or end of the button
2-
/// See [GFButton] and [GFButtonBadge]
2+
/// See GFButton and GFButtonBadge
33
enum GFPosition {
4-
/// [GFPosition.start] is used to place icon, badges to start of the [GFButton] and [GFButtonBadge]
4+
/// [GFPosition.start] is used to place icon, badges to start of the GFButton and GFButtonBadge
55
start,
66

7-
/// [GFPosition.end] is used to place icon, badges to end of the [GFButton] and [GFButtonBadge]
7+
/// [GFPosition.end] is used to place icon, badges to end of the GFButton and GFButtonBadge
88
end
99
}

lib/shape/gf_avatar_shape.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/// [GFAvatarShape] is used to shape the [GFAvatar] widget.
1+
/// [GFAvatarShape] is used to shape the GFAvatar widget.
22
enum GFAvatarShape {
33
/// Default shape is [GFAvatarShape.circle], used for rounded avatar
44
circle,

lib/shape/gf_badge_shape.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/// [GFBadgeShape] is used to shape the [GFBadge] widget.
1+
/// [GFBadgeShape] is used to shape the GFBadge widget.
22
enum GFBadgeShape {
33
/// [GFBadgeShape.circle], used for rounded shape badge
44
circle,

lib/shape/gf_button_shape.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/// [GFButtonShape] is used to shape the [GFButton] widget.
1+
/// [GFButtonShape] is used to shape the GFButton widget.
22
enum GFButtonShape {
33
/// [GFButtonShape.pills], used for pills shaped button with rounded corners
44
pills,

lib/shape/gf_icon_button_shape.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/// [GFIconButtonShape] is used to shape the [GFIconButton] widget.
1+
/// [GFIconButtonShape] is used to shape the GFIconButton widget.
22
enum GFIconButtonShape {
33
/// [GFIconButtonShape.circle], used for rounded shape icon button
44
circle,

lib/size/gf_size.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ enum GFSize {
1111
}
1212

1313
class GFSizesClass {
14-
static const double SMALL = 30.0;
15-
static const double MEDIUM = 35.0;
16-
static const double LARGE = 40.0;
14+
static const double SMALL = 30;
15+
static const double MEDIUM = 35;
16+
static const double LARGE = 40;
1717

1818
/// Pass [GFSize] or [double]
1919
static double getGFSize(dynamic size) {

lib/types/gf_button_type.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
/// [GFType] is used to change the type of widgets
1+
/// [GFButtonType] is used to change the type of widgets
22
enum GFButtonType {
3-
/// Default type is [GFType.solid], used to fill with color for widget
3+
/// Default type is [GFButtonType.solid], used to fill with color for widget
44
solid,
55

6-
/// Type [GFType.outline], used for widget with outline border and fill color with Colors.transparent
6+
/// Type [GFButtonType.outline], used for widget with outline border and fill color with Colors.transparent
77
outline,
88

9-
/// Type [GFType.outline2x], used for widget with outline2x border and border.width = 2.0 and fill color with Colors.transparent
9+
/// Type [GFButtonType.outline2x], used for widget with outline2x border and border.width = 2.0 and fill color with Colors.transparent
1010
outline2x,
1111

12-
/// Type [GFType.transparent], used for widget with fill color with Colors.transparent
12+
/// Type [GFButtonType.transparent], used for widget with fill color with Colors.transparent
1313
transparent
1414
}

lib/types/gf_toggle_type.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ enum GFToggleType {
33
/// [GFToggleType.android] is used for basic toggle shape of android mode
44
android,
55

6-
/// [GFToggleType.custom] is used to change the shape of [GFToggle]
6+
/// [GFToggleType.custom] is used to change the shape of GFToggle
77
custom,
88

99
/// [GFToggleType.ios] is used for basic toggle shape of ios mode
1010
ios,
1111

12-
/// [GFToggleType.square] is used for square shape of [GFToggle]
12+
/// [GFToggleType.square] is used for square shape of GFToggle
1313
square
1414
}

lib/types/gf_typography_type.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/// [GFTypographyType] is used to change the type of [GFTypography] title widget.
1+
/// [GFTypographyType] is used to change the type of GFTypography title widget.
22
enum GFTypographyType {
33
/// [GFTypographyType.typo1] type used for title widget with fontSize = 25.0
44
typo1,

0 commit comments

Comments
 (0)