@@ -41,28 +41,36 @@ class _SignPageTeenState extends State<SignPageTeen>
4141 appBar: SignupApbar (
4242 title: "CREATE ACCOUNT" ,
4343 ),
44- body: Stack (
45- alignment: Alignment .centerLeft,
46- fit: StackFit .loose,
47- children: < Widget > [
48- Container (
49- height: double .infinity,
50- width: double .infinity,
51- decoration: BoxDecoration (
52- gradient: SIGNUP_BACKGROUND ,
53- ),
54- ),
55- PageView .builder (
56- controller: _pageController,
57- itemBuilder: (context, index) {
58- return widgets[index];
59- },
60- physics: BouncingScrollPhysics (),
61- itemCount: widgets.length,
62- scrollDirection: Axis .horizontal,
44+ body: SingleChildScrollView (
45+ physics: BouncingScrollPhysics (),
46+ primary: false ,
47+ child: Container (
48+ height: MediaQuery .of (context).size.height,
49+ width: MediaQuery .of (context).size.width,
50+ child: Stack (
51+ alignment: Alignment .centerLeft,
52+ fit: StackFit .loose,
53+ children: < Widget > [
54+ Container (
55+ height: double .infinity,
56+ width: double .infinity,
57+ decoration: BoxDecoration (
58+ gradient: SIGNUP_BACKGROUND ,
59+ ),
60+ ),
61+ PageView .builder (
62+ controller: _pageController,
63+ itemBuilder: (context, index) {
64+ return widgets[index];
65+ },
66+ physics: BouncingScrollPhysics (),
67+ itemCount: widgets.length,
68+ scrollDirection: Axis .horizontal,
69+ ),
70+ buildPositionedDosts (widgets),
71+ ],
6372 ),
64- buildPositionedDosts (widgets),
65- ],
73+ ),
6674 ),
6775 );
6876 }
0 commit comments