You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

280 lines
18 KiB

  1. import 'controller/app_navigation_controller.dart';
  2. import 'package:flutter/material.dart';
  3. import 'package:michele_s_application8/core/app_export.dart';
  4. class AppNavigationScreen extends GetWidget<AppNavigationController> {
  5. @override
  6. Widget build(BuildContext context) {
  7. return SafeArea(
  8. child: Scaffold(
  9. backgroundColor: ColorConstant.whiteA700,
  10. body: Container(
  11. width: double.maxFinite,
  12. child: Column(
  13. mainAxisAlignment: MainAxisAlignment.start,
  14. children: [
  15. Container(
  16. decoration: AppDecoration.fillWhiteA700,
  17. child: Column(
  18. mainAxisAlignment: MainAxisAlignment.start,
  19. children: [
  20. Align(
  21. alignment: Alignment.centerLeft,
  22. child: Padding(
  23. padding: getPadding(
  24. left: 20,
  25. top: 10,
  26. right: 20,
  27. bottom: 10),
  28. child: Text("lbl_app_navigation".tr,
  29. overflow: TextOverflow.ellipsis,
  30. textAlign: TextAlign.center,
  31. style:
  32. AppStyle.txtRobotoRegular20))),
  33. Align(
  34. alignment: Alignment.centerLeft,
  35. child: Padding(
  36. padding: getPadding(left: 20),
  37. child: Text("msg_check_your_app_s".tr,
  38. overflow: TextOverflow.ellipsis,
  39. textAlign: TextAlign.center,
  40. style:
  41. AppStyle.txtRobotoRegular16))),
  42. Padding(
  43. padding: getPadding(top: 5),
  44. child:
  45. Divider(color: ColorConstant.black900))
  46. ])),
  47. Expanded(
  48. child: SingleChildScrollView(
  49. child: Container(
  50. decoration: AppDecoration.fillWhiteA700,
  51. child: Column(
  52. mainAxisAlignment:
  53. MainAxisAlignment.start,
  54. children: [
  55. GestureDetector(
  56. onTap: () {
  57. onTapSplashScreenOne();
  58. },
  59. child: Container(
  60. decoration:
  61. AppDecoration.fillWhiteA700,
  62. child: Column(
  63. mainAxisAlignment:
  64. MainAxisAlignment.start,
  65. children: [
  66. Align(
  67. alignment: Alignment
  68. .centerLeft,
  69. child: Padding(
  70. padding:
  71. getPadding(
  72. left: 20,
  73. top: 10,
  74. right: 20,
  75. bottom:
  76. 10),
  77. child: Text(
  78. "msg_splash_screen_one"
  79. .tr,
  80. overflow:
  81. TextOverflow
  82. .ellipsis,
  83. textAlign:
  84. TextAlign
  85. .center,
  86. style: AppStyle
  87. .txtRobotoRegular20))),
  88. Padding(
  89. padding: getPadding(
  90. top: 5),
  91. child: Divider(
  92. color: ColorConstant
  93. .bluegray400))
  94. ]))),
  95. GestureDetector(
  96. onTap: () {
  97. onTapLogin();
  98. },
  99. child: Container(
  100. decoration:
  101. AppDecoration.fillWhiteA700,
  102. child: Column(
  103. mainAxisAlignment:
  104. MainAxisAlignment.start,
  105. children: [
  106. Align(
  107. alignment: Alignment
  108. .centerLeft,
  109. child: Padding(
  110. padding:
  111. getPadding(
  112. left: 20,
  113. top: 10,
  114. right: 20,
  115. bottom:
  116. 10),
  117. child: Text(
  118. "lbl_login"
  119. .tr,
  120. overflow:
  121. TextOverflow
  122. .ellipsis,
  123. textAlign:
  124. TextAlign
  125. .center,
  126. style: AppStyle
  127. .txtRobotoRegular20))),
  128. Padding(
  129. padding: getPadding(
  130. top: 5),
  131. child: Divider(
  132. color: ColorConstant
  133. .bluegray400))
  134. ]))),
  135. GestureDetector(
  136. onTap: () {
  137. onTapAbilitaDisabilitaclasseTwo();
  138. },
  139. child: Container(
  140. decoration:
  141. AppDecoration.fillWhiteA700,
  142. child: Column(
  143. mainAxisAlignment:
  144. MainAxisAlignment.start,
  145. children: [
  146. Align(
  147. alignment: Alignment
  148. .centerLeft,
  149. child: Padding(
  150. padding:
  151. getPadding(
  152. left: 20,
  153. top: 10,
  154. right: 20,
  155. bottom:
  156. 10),
  157. child: Text(
  158. "msg_abilita_disabilita"
  159. .tr,
  160. overflow:
  161. TextOverflow
  162. .ellipsis,
  163. textAlign:
  164. TextAlign
  165. .center,
  166. style: AppStyle
  167. .txtRobotoRegular20))),
  168. Padding(
  169. padding: getPadding(
  170. top: 5),
  171. child: Divider(
  172. color: ColorConstant
  173. .bluegray400))
  174. ]))),
  175. GestureDetector(
  176. onTap: () {
  177. onTapAbilitaDisabilitaclasse();
  178. },
  179. child: Container(
  180. decoration:
  181. AppDecoration.fillWhiteA700,
  182. child: Column(
  183. mainAxisAlignment:
  184. MainAxisAlignment.start,
  185. children: [
  186. Align(
  187. alignment: Alignment
  188. .centerLeft,
  189. child: Padding(
  190. padding:
  191. getPadding(
  192. left: 20,
  193. top: 10,
  194. right: 20,
  195. bottom:
  196. 10),
  197. child: Text(
  198. "msg_abilita_disabilita2"
  199. .tr,
  200. overflow:
  201. TextOverflow
  202. .ellipsis,
  203. textAlign:
  204. TextAlign
  205. .center,
  206. style: AppStyle
  207. .txtRobotoRegular20))),
  208. Padding(
  209. padding: getPadding(
  210. top: 5),
  211. child: Divider(
  212. color: ColorConstant
  213. .bluegray400))
  214. ]))),
  215. GestureDetector(
  216. onTap: () {
  217. onTapAbilitaDisabilitaclasseOne();
  218. },
  219. child: Container(
  220. decoration:
  221. AppDecoration.fillWhiteA700,
  222. child: Column(
  223. mainAxisAlignment:
  224. MainAxisAlignment.start,
  225. children: [
  226. Align(
  227. alignment: Alignment
  228. .centerLeft,
  229. child: Padding(
  230. padding:
  231. getPadding(
  232. left: 20,
  233. top: 10,
  234. right: 20,
  235. bottom:
  236. 10),
  237. child: Text(
  238. "msg_abilita_disabilita3"
  239. .tr,
  240. overflow:
  241. TextOverflow
  242. .ellipsis,
  243. textAlign:
  244. TextAlign
  245. .center,
  246. style: AppStyle
  247. .txtRobotoRegular20))),
  248. Padding(
  249. padding: getPadding(
  250. top: 5),
  251. child: Divider(
  252. color: ColorConstant
  253. .bluegray400))
  254. ])))
  255. ]))))
  256. ]))));
  257. }
  258. onTapSplashScreenOne() {
  259. Get.toNamed(AppRoutes.splashScreenOneScreen);
  260. }
  261. onTapLogin() {
  262. Get.toNamed(AppRoutes.loginScreen);
  263. }
  264. onTapAbilitaDisabilitaclasseTwo() {
  265. Get.toNamed(AppRoutes.abilitaDisabilitaClasseTwoScreen);
  266. }
  267. onTapAbilitaDisabilitaclasse() {
  268. Get.toNamed(AppRoutes.abilitaDisabilitaClasseScreen);
  269. }
  270. onTapAbilitaDisabilitaclasseOne() {
  271. Get.toNamed(AppRoutes.abilitaDisabilitaClasseOneScreen);
  272. }
  273. }