@@ -56,30 +56,29 @@ class IntroViewsFlutter extends StatefulWidget {
5656
5757 /// always Show DoneButton
5858 final bool doneButtonPersist;
59-
60- /// [MainAxisAlignment] for [PageViewModel] page column aligment
59+
60+ /// [MainAxisAlignment] for [PageViewModel] page column aligment
6161 /// default [MainAxisAligment.spaceAround]
62- ///
62+ ///
6363 /// portrait view wraps around [title] [body] [mainImage]
64- ///
64+ ///
6565 /// landscape view wraps around [title] [body]
6666 final MainAxisAlignment columnMainAxisAlignment;
6767
68- IntroViewsFlutter (
69- this .pages, {
70- Key key,
71- this .onTapDoneButton,
72- this .showSkipButton = true ,
73- this .pageButtonTextStyles,
74- this .pageButtonTextSize = 18.0 ,
75- this .pageButtonFontFamily,
76- this .onTapSkipButton,
77- this .pageButtonsColor,
78- this .doneText = const Text ("DONE" ),
79- this .skipText = const Text ("SKIP" ),
80- this .doneButtonPersist = false ,
81- this .columnMainAxisAlignment = MainAxisAlignment .spaceAround
82- }) : super (key: key);
68+ IntroViewsFlutter (this .pages,
69+ {Key key,
70+ this .onTapDoneButton,
71+ this .showSkipButton = true ,
72+ this .pageButtonTextStyles,
73+ this .pageButtonTextSize = 18.0 ,
74+ this .pageButtonFontFamily,
75+ this .onTapSkipButton,
76+ this .pageButtonsColor,
77+ this .doneText = const Text ("DONE" ),
78+ this .skipText = const Text ("SKIP" ),
79+ this .doneButtonPersist = false ,
80+ this .columnMainAxisAlignment = MainAxisAlignment .spaceAround})
81+ : super (key: key);
8382
8483 @override
8584 _IntroViewsFlutterState createState () => new _IntroViewsFlutterState ();
@@ -197,10 +196,9 @@ class _IntroViewsFlutterState extends State<IntroViewsFlutter>
197196 //next page reveal
198197 revealPercent: slidePercent,
199198 child: new Page (
200- pageViewModel: pages[nextPageIndex],
201- percentVisible: slidePercent,
202- columnMainAxisAlignment: widget.columnMainAxisAlignment
203- ),
199+ pageViewModel: pages[nextPageIndex],
200+ percentVisible: slidePercent,
201+ columnMainAxisAlignment: widget.columnMainAxisAlignment),
204202 ), //PageReveal
205203
206204 new PagerIndicator (
0 commit comments