last63

Untitled

Oct 28th, 2025
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.95 KB | None | 0 0
  1. import 'package:flutter/material.dart';
  2.  
  3. class AboutMe extends StatelessWidget {
  4. const AboutMe({super.key});
  5.  
  6. @override
  7. Widget build(BuildContext context) {
  8. return Scaffold(
  9. appBar: AppBar(
  10. title: Text(
  11. 'About Me',
  12. style: TextStyle(
  13. fontWeight: FontWeight.bold,
  14. ),
  15. ),
  16. backgroundColor: Colors.amberAccent,
  17. ),
  18. body: SingleChildScrollView(
  19. scrollDirection: Axis.vertical,
  20. child: Padding(
  21. padding: const EdgeInsets.all(10.0),
  22. child: Center(
  23. child: Column(
  24. children: <Widget>[
  25. /**
  26. * IMAGE PROFILE
  27. */
  28. CircleAvatar(
  29. radius: 50,
  30. backgroundImage: NetworkImage(
  31. 'assets/kereta.jpg',
  32. ),
  33. ),
  34. /**
  35. * TEXT NAME
  36. */
  37. Padding(
  38. padding: const EdgeInsets.only(top: 10.0),
  39. child: Text(
  40. 'Ucup Guerero'.toUpperCase(),
  41. style: TextStyle(
  42. fontSize: 18,
  43. fontWeight: FontWeight.bold,
  44. fontFamily: 'Poppins'),
  45. ),
  46. ),
  47. /**
  48. * SPACER
  49. */
  50. SizedBox(
  51. height: 10,
  52. ),
  53. /**
  54. * TEXT ABOUT
  55. */
  56. Text(
  57. 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.',
  58. style: TextStyle(fontFamily: 'Poppins'),
  59. textAlign: TextAlign.justify,
  60. ),
  61. /**
  62. * SPACER
  63. */
  64. SizedBox(
  65. height: 15,
  66. ),
  67. Row(
  68. children: [
  69. Expanded(
  70. flex: 1,
  71. child: Padding(
  72. padding: const EdgeInsets.all(8.0),
  73. child: Container(
  74. decoration: BoxDecoration(
  75. color: Colors.amber,
  76. borderRadius: BorderRadius.circular(
  77. 20,
  78. ),
  79. ),
  80. child: Row(
  81. children: [
  82. Container(
  83. decoration: BoxDecoration(
  84. color: Colors.greenAccent,
  85. borderRadius: BorderRadius.circular(
  86. 20,
  87. ),
  88. ),
  89. child: Icon(
  90. Icons.gamepad,
  91. size: 75,
  92. color: Colors.white,
  93. ),
  94. ),
  95. Padding(
  96. padding:
  97. const EdgeInsets.symmetric(horizontal: 4.0),
  98. child: Column(
  99. crossAxisAlignment: CrossAxisAlignment.start,
  100. children: [
  101. Text(
  102. 'GAME PROJECTS',
  103. style: TextStyle(
  104. fontFamily: 'Poppins',
  105. fontWeight: FontWeight.bold,
  106. ),
  107. ),
  108. Text(
  109. '10 GAMES',
  110. style: TextStyle(
  111. fontFamily: 'Poppins',
  112. ),
  113. ),
  114. ],
  115. ),
  116. ),
  117. ],
  118. ),
  119. ),
  120. ),
  121. ),
  122. Expanded(
  123. flex: 1,
  124. child: Padding(
  125. padding: const EdgeInsets.all(8.0),
  126. child: Container(
  127. decoration: BoxDecoration(
  128. color: Colors.amber,
  129. borderRadius: BorderRadius.circular(
  130. 15,
  131. ),
  132. ),
  133. child: Row(
  134. children: <Widget>[
  135. Container(
  136. width: 75,
  137. height: 75,
  138. decoration: BoxDecoration(
  139. color: Colors.greenAccent,
  140. borderRadius: BorderRadius.circular(
  141. 15,
  142. ),
  143. ),
  144. child: Icon(
  145. Icons.android,
  146. color: Colors.white,
  147. size: 50,
  148. ),
  149. ),
  150. Padding(
  151. padding: const EdgeInsets.all(8.0),
  152. child: Column(
  153. crossAxisAlignment: CrossAxisAlignment.start,
  154. children: [
  155. Text(
  156. 'Android Projects'.toUpperCase(),
  157. style: TextStyle(
  158. fontWeight: FontWeight.bold,
  159. fontFamily: 'Poppins'),
  160. ),
  161. Text(
  162. '10 APK',
  163. style: TextStyle(
  164. fontFamily: 'Poppins',
  165. ),
  166. ),
  167. ],
  168. ),
  169. ),
  170. ],
  171. ),
  172. ),
  173. ),
  174. ),
  175. ],
  176. ),
  177. /**
  178. * SCHEDULE
  179. */
  180. Padding(
  181. padding: const EdgeInsets.symmetric(
  182. vertical: 10,
  183. ),
  184. child: Container(
  185. width: double.infinity,
  186. decoration: BoxDecoration(
  187. color: Colors.black,
  188. borderRadius: BorderRadius.circular(
  189. 20,
  190. ),
  191. ),
  192. child: Padding(
  193. padding: const EdgeInsets.symmetric(vertical: 8.0),
  194. child: Text(
  195. 'Schedule'.toUpperCase(),
  196. style: TextStyle(
  197. fontWeight: FontWeight.bold,
  198. fontFamily: 'Poppins',
  199. fontSize: 18,
  200. letterSpacing: 2,
  201. color: Colors.white),
  202. textAlign: TextAlign.center,
  203. ),
  204. ),
  205. ),
  206. ),
  207. // ROW SCHEDULE
  208. Row(
  209. mainAxisAlignment: MainAxisAlignment.spaceEvenly,
  210. children: <Widget>[
  211. /**
  212. * BELAJAR
  213. */
  214. Expanded(
  215. flex: 1,
  216. child: Padding(
  217. padding: const EdgeInsets.symmetric(horizontal: 4),
  218. child: Container(
  219. // width: double.infinity,ngasih lebar
  220. decoration: BoxDecoration(
  221. color: Colors.greenAccent,
  222. borderRadius: BorderRadius.circular(
  223. 20,
  224. ),
  225. ),
  226. child: Padding(
  227. padding: const EdgeInsets.all(8.0),
  228. child: Column(
  229. children: <Widget>[
  230. Text(
  231. 'Belajar'.toUpperCase(),
  232. style: TextStyle(
  233. fontWeight: FontWeight.w700,
  234. fontFamily: 'Poppins',
  235. ),
  236. ),
  237. Icon(
  238. Icons.timer,
  239. size: 30,
  240. ),
  241. Text(
  242. '07.30 - 14.30',
  243. style: TextStyle(
  244. fontFamily: 'Poppins',
  245. fontWeight: FontWeight.w600,
  246. ),
  247. ),
  248. ],
  249. ),
  250. ),
  251. ),
  252. ),
  253. ),
  254. /**
  255. * MEMBACA
  256. */
  257. Expanded(
  258. flex: 1,
  259. child: Padding(
  260. padding: const EdgeInsets.symmetric(horizontal: 4.0),
  261. child: Container(
  262. decoration: BoxDecoration(
  263. color: Colors.amberAccent,
  264. borderRadius: BorderRadius.circular(
  265. 20,
  266. ),
  267. ),
  268. child: Padding(
  269. padding: const EdgeInsets.all(8.0),
  270. child: Column(
  271. children: <Widget>[
  272. Text(
  273. 'MEMBACA',
  274. style: TextStyle(
  275. fontWeight: FontWeight.w700,
  276. fontFamily: 'Poppins',
  277. ),
  278. ),
  279. Icon(
  280. Icons.book,
  281. size: 30,
  282. ),
  283. Text(
  284. '20.00 - 21.00',
  285. style: TextStyle(
  286. fontWeight: FontWeight.w600,
  287. fontFamily: 'Poppins',
  288. ),
  289. ),
  290. ],
  291. ),
  292. ),
  293. ),
  294. ),
  295. ),
  296. /**
  297. * TIDUR
  298. */
  299. Expanded(
  300. flex: 2,
  301. child: Padding(
  302. padding: const EdgeInsets.symmetric(horizontal: 4.0),
  303. child: Container(
  304. decoration: BoxDecoration(
  305. color: Colors.blueAccent,
  306. borderRadius: BorderRadius.circular(
  307. 20,
  308. ),
  309. ),
  310. child: Padding(
  311. padding: const EdgeInsets.all(8.0),
  312. child: Column(
  313. children: <Widget>[
  314. Text(
  315. 'TIDUR',
  316. style: TextStyle(
  317. fontWeight: FontWeight.w700,
  318. fontFamily: 'Poppins',
  319. ),
  320. ),
  321. Icon(
  322. Icons.bed,
  323. size: 30,
  324. ),
  325. Text(
  326. '21.30 - 03.15',
  327. style: TextStyle(
  328. fontWeight: FontWeight.w600,
  329. fontFamily: 'Poppins',
  330. ),
  331. ),
  332. ],
  333. ),
  334. ),
  335. ),
  336. ),
  337. ),
  338. ],
  339. ),
  340. ],
  341. ),
  342. ),
  343. ),
  344. ),
  345. );
  346. }
  347. }
  348.  
Advertisement
Add Comment
Please, Sign In to add comment