Skip to content

Commit 5ff2eae

Browse files
committed
issues fixed
1 parent e47d116 commit 5ff2eae

File tree

7 files changed

+20
-218
lines changed

7 files changed

+20
-218
lines changed

example/lib/main_temp.dart

Lines changed: 0 additions & 197 deletions
This file was deleted.

lib/components/accordian/gf_accordian.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ class GFAccordion extends StatefulWidget {
2525
this.contentBorderRadius = const BorderRadius.all(Radius.circular(0))})
2626
: super(key: key);
2727

28-
2928
/// controls if the accordion should be collapsed or not making it possible to be controlled from outside
3029
final bool showAccordion;
3130

lib/components/border/gf_border.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class GFBorder extends StatelessWidget {
4444

4545
@override
4646
Widget build(BuildContext context) => Stack(
47-
alignment: AlignmentDirectional.center,
47+
alignment: AlignmentDirectional.center,
4848
children: <Widget>[
4949
Positioned.fill(
5050
child: CustomPaint(

lib/components/button/gf_button.dart

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,16 +1308,13 @@ class _GFButtonState extends State<GFButton> {
13081308
constraints: icon == null
13091309
? const BoxConstraints(minWidth: 80)
13101310
: const BoxConstraints(minWidth: 90),
1311-
decoration: BoxDecoration(
1312-
borderRadius: BorderRadius.circular(50)
1313-
),
1314-
// decoration: widget.type == GFButtonType.solid ? getBoxShadow() : null,
1311+
decoration: widget.type == GFButtonType.solid ? getBoxShadow() : null,
13151312
child: Material(
13161313
elevation: _effectiveElevation,
13171314
textStyle: widget.textStyle == null ? getTextStyle() : widget.textStyle,
1318-
// shape: widget.type == GFButtonType.transparent
1319-
// ? null
1320-
// : widget.borderShape ?? shapeBorderType,
1315+
shape: widget.type == GFButtonType.transparent
1316+
? null
1317+
: widget.borderShape ?? shapeBorderType,
13211318
color: widget.enabled ? getColor() : getDisabledFillColor(),
13221319
type: color == null ? MaterialType.transparency : MaterialType.button,
13231320
animationDuration: widget.animationDuration,

lib/components/intro_screen/gf_intro_screen.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@ class GFIntroScreen extends StatefulWidget {
208208
}
209209

210210
class _GFIntroScreenState extends State<GFIntroScreen> {
211-
212211
@override
213212
Widget build(BuildContext context) => Center(
214213
child: Container(

lib/components/intro_screen/gf_intro_screen_bottom_navigation_bar.dart

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -87,16 +87,16 @@ class GFIntroScreenBottomNavigationBar extends StatefulWidget {
8787
/// defines the shape of [GFIntroScreenBottomNavigationBar]
8888
final ShapeBorder navigationBarShape;
8989

90-
/// Called when the forward button is tapped
90+
/// Called when the [forwardButtonText] is tapped
9191
final VoidCallback onForwardButtonTap;
9292

93-
/// Called when the back button is tapped
93+
/// Called when the [backButtonText] is tapped
9494
final VoidCallback onBackButtonTap;
9595

96-
/// Called when the done button is tapped
96+
/// Called when the [doneButtonText] is tapped
9797
final VoidCallback onDoneTap;
9898

99-
/// Called when the skip button is tapped
99+
/// Called when the [skipButtonText] is tapped
100100
final VoidCallback onSkipTap;
101101

102102
/// defines the backButton widget
@@ -172,11 +172,12 @@ class GFIntroScreenBottomNavigationBar extends StatefulWidget {
172172
final EdgeInsets dotMargin;
173173

174174
@override
175-
_GFIntroScreenBottomNavigationBarState createState() => _GFIntroScreenBottomNavigationBarState();
175+
_GFIntroScreenBottomNavigationBarState createState() =>
176+
_GFIntroScreenBottomNavigationBarState();
176177
}
177178

178-
class _GFIntroScreenBottomNavigationBarState extends State<GFIntroScreenBottomNavigationBar> {
179-
179+
class _GFIntroScreenBottomNavigationBarState
180+
extends State<GFIntroScreenBottomNavigationBar> {
180181
PageController _pageController;
181182
int currentIndex;
182183
List<Widget> pages;
@@ -243,7 +244,8 @@ class _GFIntroScreenBottomNavigationBarState extends State<GFIntroScreenBottomNa
243244
style: widget.skipButtonTextStyle)
244245
: widget.backButton ??
245246
Text(widget.backButtonText,
246-
style: widget.backButtonTextStyle),
247+
style:
248+
widget.backButtonTextStyle),
247249
onTap: currentIndex == 0
248250
? widget.onSkipTap
249251
: widget.onBackButtonTap ?? onBackButton,
@@ -263,10 +265,12 @@ class _GFIntroScreenBottomNavigationBarState extends State<GFIntroScreenBottomNa
263265
style: widget.doneButtonTextStyle)
264266
: widget.forwardButton ??
265267
Text(widget.forwardButtonText,
266-
style: widget.forwardButtonTextStyle),
268+
style: widget
269+
.forwardButtonTextStyle),
267270
onTap: currentIndex == widget.pageCount - 1
268271
? widget.onDoneTap
269-
: widget.onForwardButtonTap ?? onForwardButton,
272+
: widget.onForwardButtonTap ??
273+
onForwardButton,
270274
)
271275
: Container(),
272276
],

lib/components/sticky_header/gf_sticky_header_builder.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class GFStickyHeaderBuilder extends StatefulWidget {
1919
}) : assert(direction != null),
2020
super(key: key);
2121

22-
/// widget can be used to define [stickyContentBuilder].
22+
/// builder widget can be used to define [stickyContentBuilder].
2323
final StickyHeaderWidgetBuilder stickyContentBuilder;
2424

2525
/// widget can be used to define [content].

0 commit comments

Comments
 (0)