Skip to content

Commit 777dfba

Browse files
committed
Worked on page 44
1 parent ef7c589 commit 777dfba

File tree

4 files changed

+73
-0
lines changed

4 files changed

+73
-0
lines changed

lib/src/mobile_ui/44/page_44.dart

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
import 'package:flutter/material.dart';
2+
import 'package:flutter_screenutil/flutter_screenutil.dart';
3+
import 'package:google_fonts/google_fonts.dart';
4+
5+
class Page44 extends StatefulWidget {
6+
const Page44({Key? key}) : super(key: key);
7+
8+
@override
9+
State<Page44> createState() => _Page44State();
10+
}
11+
12+
class _Page44State extends State<Page44> {
13+
@override
14+
Widget build(BuildContext context) {
15+
return Scaffold(
16+
body: SafeArea(
17+
child: SingleChildScrollView(
18+
child: Column(
19+
children: [
20+
SizedBox(
21+
height: 86.h,
22+
),
23+
Center(
24+
child: RotatedBox(
25+
quarterTurns: 3,
26+
child: Row(
27+
children: [
28+
Text(
29+
'LOREM ',
30+
style: GoogleFonts.roboto(
31+
textStyle: TextStyle(
32+
fontSize: 90.sp,
33+
color: Colors.black,
34+
fontWeight: FontWeight.w100,
35+
),
36+
),
37+
),
38+
Text(
39+
'IPSUM ',
40+
style: GoogleFonts.roboto(
41+
textStyle: TextStyle(
42+
fontSize: 90.sp,
43+
color: Colors.black,
44+
fontWeight: FontWeight.w400,
45+
),
46+
),
47+
)
48+
],
49+
),
50+
),
51+
),
52+
],
53+
),
54+
),
55+
),
56+
);
57+
}
58+
}

lib/src/mobile_ui/root/root.dart

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,15 @@ class RootWidget extends StatelessWidget {
247247

248248
/// 41 - 60
249249
250+
PageButtonWidget(
251+
page: 44,
252+
onPressed: () {
253+
GetIt.I
254+
.get<NavigationService>()
255+
.to(routeName: MobileRoutes.pg44);
256+
},
257+
),
258+
250259
PageButtonWidget(
251260
page: 51,
252261
onPressed: () {

lib/src/mobile_ui/routes/routes.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ class MobileRoutes {
3333
static const pg34 = "/34/";
3434

3535
/// 41 - 60
36+
static const pg44 = "/44/";
3637
static const pg51 = "/51/";
3738
static const pg52 = "/52/";
3839
}

lib/src/navigation/routes.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import '../mobile_ui/27/page_27.dart';
3030
import '../mobile_ui/32/page_32.dart';
3131
import '../mobile_ui/33/page_33.dart';
3232
import '../mobile_ui/34/page_34.dart';
33+
import '../mobile_ui/44/page_44.dart';
3334
import '../mobile_ui/51/page_51.dart';
3435
import '../mobile_ui/52/page_52.dart';
3536
import 'fade_route.dart';
@@ -158,6 +159,10 @@ var routes = (RouteSettings settings) {
158159
);
159160

160161
/// Mobile 41 - 60
162+
case MobileRoutes.pg44:
163+
return FadeRoute(
164+
page: const Page44(),
165+
);
161166
case MobileRoutes.pg51:
162167
return FadeRoute(
163168
page: const Page51(),

0 commit comments

Comments
 (0)