@@ -61,9 +61,10 @@ class _OnboardingScreenState extends State<OnboardingScreen> {
6161 },
6262 ),
6363 ),
64+ SizedBox (height: height* 5 / 100 ,),
6465 Expanded (
6566 flex: 1 ,
66- child: _buildBottomSection (width),
67+ child: SingleChildScrollView (child : _buildBottomSection (width) ),
6768 ),
6869 ],
6970 ),
@@ -73,36 +74,40 @@ class _OnboardingScreenState extends State<OnboardingScreen> {
7374
7475 Widget _buildOnboardingPage (
7576 OnboardingModel content, double width, double height) {
76- return Padding (
77- padding: const EdgeInsets .all (35.0 ),
78- child: Column (
79- children: [
80- SvgPicture .asset (
81- content.image,
82- height: SizeConfig .blockV! * 30 ,
83- ),
84- SizedBox (
85- height: (height >= 840 ) ? 60 : 30 ,
86- ),
87- Text (
88- content.title,
89- textAlign: TextAlign .center,
90- style: GoogleFonts .poppins (
91- fontWeight: FontWeight .w600,
92- fontSize: (width <= 550 ) ? 30 : 35 ,
77+ return SingleChildScrollView (
78+ child: Padding (
79+ padding: const EdgeInsets .all (35.0 ),
80+ child: Column (
81+ children: [
82+ SvgPicture .asset (
83+ content.image,
84+ height: SizeConfig .blockV! * 30 ,
9385 ),
94- ),
95- Flexible (flex: 1 , child: Container ()),
96- Text (
97- content.desc,
98- style: GoogleFonts .poppins (
99- fontWeight: FontWeight .w300,
100- fontSize: (width <= 550 ) ? 17 : 17 ,
86+ SizedBox (
87+ height: (height >= 840 ) ? 60 : 30 ,
10188 ),
102- textAlign: TextAlign .center,
103- ),
104- Flexible (flex: 1 , child: Container ()),
105- ],
89+ Text (
90+ content.title,
91+ textAlign: TextAlign .center,
92+ style: GoogleFonts .poppins (
93+ fontWeight: FontWeight .w600,
94+ fontSize: (width <= 550 ) ? 30 : 35 ,
95+ ),
96+ ),
97+ SizedBox (height: height* 2 / 100 ,),
98+ // Flexible(flex: 1, child: Container()),
99+ Text (
100+ content.desc,
101+ style: GoogleFonts .poppins (
102+ fontWeight: FontWeight .w300,
103+ fontSize: (width <= 550 ) ? 17 : 17 ,
104+ ),
105+ textAlign: TextAlign .center,
106+ ),
107+ SizedBox (height: height* 2 / 100 ,)
108+ // Flexible(flex: 1, child: Container()),
109+ ],
110+ ),
106111 ),
107112 );
108113 }
0 commit comments