Skip to content

Commit ab301fc

Browse files
author
srinivas
committed
code reviewing the components
1 parent 3cb8038 commit ab301fc

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

lib/components/accordian/gf_accordian.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class GFAccordion extends StatefulWidget {
1717
this.contentPadding = const EdgeInsets.all(10),
1818
this.contentChild,
1919
this.titleBorder = const Border(),
20-
this.contentBorder = const Border(),
20+
this.contentborder = const Border(),
2121
this.margin,
2222
this.showAccordion = false,
2323
this.onToggleCollapsed,
@@ -73,7 +73,7 @@ class GFAccordion extends StatefulWidget {
7373
final Border titleBorder;
7474

7575
///contentBorderColor of type [Color] or [GFColors] which is used to change the border color of content
76-
final Border contentBorder;
76+
final Border contentborder;
7777

7878
///titleBorderRadius of type [Radius] which is used to change the border radius of title
7979
final BorderRadius titleBorderRadius;
@@ -156,7 +156,7 @@ class _GFAccordionState extends State<GFAccordion>
156156
? Container(
157157
decoration: BoxDecoration(
158158
borderRadius: widget.contentBorderRadius,
159-
border: widget.contentBorder,
159+
border: widget.contentborder,
160160
color: widget.contentBackgroundColor ?? Colors.white70,
161161
),
162162
width: MediaQuery.of(context).size.width,

lib/components/alert/gf_alert.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class _GFAlertState extends State<GFAlert> with TickerProviderStateMixin {
109109
: GFColors.WHITE,
110110
boxShadow: [
111111
BoxShadow(
112-
color: Colors.black.withOpacity(0.40), blurRadius: 3)
112+
color: Colors.black.withOpacity(0.10), blurRadius: 2)
113113
]),
114114
child: Column(
115115
crossAxisAlignment: CrossAxisAlignment.start,

lib/components/appbar/gf_appbar.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ class _GFAppBarState extends State<GFAppBar> {
524524
);
525525
}
526526

527-
// The padding applies to the toolbar and tabbar, not the flexible space.
527+
// The padding applies to the toolbar and tabBar, not the flexible space.
528528
if (widget.primary) {
529529
appBar = SafeArea(
530530
top: true,

lib/components/carousel/gf_carousel.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ class GFCarousel extends StatefulWidget {
2424
this.pauseAutoPlayOnTouch,
2525
this.enlargeMainPage = false,
2626
this.onPageChanged,
27-
// this.onPageIndex,
2827
this.scrollPhysics,
2928
this.scrollDirection = Axis.horizontal,
3029
}) : realPage = enableInfiniteScroll ? realPage + initialPage : initialPage,

0 commit comments

Comments
 (0)