@@ -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 ],
0 commit comments