File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,8 @@ class IntroViewsFlutter extends StatefulWidget {
9191 ///
9292 /// default to 300.0
9393 final double fullTransition;
94+
95+ final Color background;
9496
9597 IntroViewsFlutter (
9698 this .pages, {
@@ -113,6 +115,7 @@ class IntroViewsFlutter extends StatefulWidget {
113115 this .doneButtonPersist = false ,
114116 this .columnMainAxisAlignment = MainAxisAlignment .spaceAround,
115117 this .fullTransition = FULL_TARNSITION_PX ,
118+ this .background = null ,
116119 }) : super (key: key);
117120
118121 @override
@@ -231,6 +234,7 @@ class _IntroViewsFlutterState extends State<IntroViewsFlutter>
231234 return Scaffold (
232235 //Stack is used to place components over one another.
233236 resizeToAvoidBottomPadding: false ,
237+ color: this .background,
234238 body: Stack (
235239 children: < Widget > [
236240 Page (
You can’t perform that action at this time.
0 commit comments