editbug.dart 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. import 'package:flutter/material.dart';
  2. import 'package:namer_app/footer.dart';
  3. import 'package:namer_app/header.dart';
  4. class EditBugPage extends StatelessWidget {
  5. const EditBugPage({super.key});
  6. @override
  7. Widget build(BuildContext context) {
  8. return Scaffold(
  9. appBar: CustomAppbar(),
  10. backgroundColor: Colors.white,
  11. body: Stack(children: [
  12. SingleChildScrollView(
  13. child: Column(
  14. mainAxisAlignment: MainAxisAlignment.spaceEvenly,
  15. children: [
  16. Center(
  17. child: Row(
  18. mainAxisAlignment: MainAxisAlignment.center,
  19. children: [
  20. Text(
  21. 'EDIT BUG',
  22. style: TextStyle(color: Colors.black, fontSize: 48),
  23. ),
  24. ],
  25. )),
  26. Column(
  27. children: [
  28. Padding(
  29. padding: const EdgeInsets.all(8.0),
  30. child: SizedBox(
  31. width: 396,
  32. child: TextField(
  33. decoration: InputDecoration(
  34. border: OutlineInputBorder(),
  35. focusedBorder: OutlineInputBorder(
  36. borderRadius:
  37. BorderRadius.all(Radius.circular(12)),
  38. borderSide: BorderSide(color: Colors.black)),
  39. enabledBorder: OutlineInputBorder(
  40. borderRadius:
  41. BorderRadius.all(Radius.circular(12)),
  42. borderSide: BorderSide(color: Colors.black)),
  43. labelText: 'Enter Description', //todo get data
  44. labelStyle: TextStyle(color: Colors.black),
  45. filled: true,
  46. fillColor: Colors.white.withOpacity(0.25)),
  47. cursorColor: Colors.black,
  48. style: TextStyle(color: Colors.black),
  49. ),
  50. ),
  51. ),
  52. Padding(
  53. padding: const EdgeInsets.all(8.0),
  54. child: SizedBox(
  55. width: 396,
  56. child: TextField(
  57. decoration: InputDecoration(
  58. border: OutlineInputBorder(),
  59. focusedBorder: OutlineInputBorder(
  60. borderRadius:
  61. BorderRadius.all(Radius.circular(12)),
  62. borderSide: BorderSide(color: Colors.black)),
  63. enabledBorder: OutlineInputBorder(
  64. borderRadius:
  65. BorderRadius.all(Radius.circular(12)),
  66. borderSide: BorderSide(color: Colors.black)),
  67. labelText: 'Enter QC', //todo get data
  68. labelStyle: TextStyle(color: Colors.black),
  69. filled: true,
  70. fillColor: Colors.white.withOpacity(0.25)),
  71. cursorColor: Colors.black,
  72. style: TextStyle(color: Colors.black),
  73. ),
  74. ),
  75. ),
  76. Padding(
  77. padding: const EdgeInsets.all(8.0),
  78. child: SizedBox(
  79. width: 396,
  80. child: TextField(
  81. decoration: InputDecoration(
  82. border: OutlineInputBorder(),
  83. focusedBorder: OutlineInputBorder(
  84. borderRadius:
  85. BorderRadius.all(Radius.circular(12)),
  86. borderSide: BorderSide(color: Colors.black)),
  87. enabledBorder: OutlineInputBorder(
  88. borderRadius:
  89. BorderRadius.all(Radius.circular(12)),
  90. borderSide: BorderSide(color: Colors.black)),
  91. labelText: 'Enter Dev', //todo get data
  92. labelStyle: TextStyle(color: Colors.black),
  93. filled: true,
  94. fillColor: Colors.white.withOpacity(0.25)),
  95. cursorColor: Colors.black,
  96. style: TextStyle(color: Colors.black),
  97. ),
  98. ),
  99. ),
  100. Padding(
  101. padding: const EdgeInsets.all(8.0),
  102. child: SizedBox(
  103. width: 396,
  104. child: TextField(
  105. decoration: InputDecoration(
  106. border: OutlineInputBorder(),
  107. focusedBorder: OutlineInputBorder(
  108. borderRadius:
  109. BorderRadius.all(Radius.circular(12)),
  110. borderSide: BorderSide(color: Colors.black)),
  111. enabledBorder: OutlineInputBorder(
  112. borderRadius:
  113. BorderRadius.all(Radius.circular(12)),
  114. borderSide: BorderSide(color: Colors.black)),
  115. labelText: 'Enter Platform', //todo get data
  116. labelStyle: TextStyle(color: Colors.black),
  117. filled: true,
  118. fillColor: Colors.white.withOpacity(0.25)),
  119. cursorColor: Colors.black,
  120. style: TextStyle(color: Colors.black),
  121. ),
  122. ),
  123. ),
  124. Padding(
  125. padding: const EdgeInsets.all(8.0),
  126. child: SizedBox(
  127. width: 396,
  128. child: TextField(
  129. decoration: InputDecoration(
  130. border: OutlineInputBorder(),
  131. focusedBorder: OutlineInputBorder(
  132. borderRadius:
  133. BorderRadius.all(Radius.circular(12)),
  134. borderSide: BorderSide(color: Colors.black)),
  135. enabledBorder: OutlineInputBorder(
  136. borderRadius:
  137. BorderRadius.all(Radius.circular(12)),
  138. borderSide: BorderSide(color: Colors.black)),
  139. labelText: 'Enter Goodday URL', //todo get data
  140. labelStyle: TextStyle(color: Colors.black),
  141. filled: true,
  142. fillColor: Colors.white.withOpacity(0.25)),
  143. cursorColor: Colors.black,
  144. style: TextStyle(color: Colors.black),
  145. ),
  146. ),
  147. ),
  148. Padding(
  149. padding: const EdgeInsets.all(8.0),
  150. child: SizedBox(
  151. width: 396,
  152. child: TextField(
  153. decoration: InputDecoration(
  154. border: OutlineInputBorder(),
  155. focusedBorder: OutlineInputBorder(
  156. borderRadius:
  157. BorderRadius.all(Radius.circular(12)),
  158. borderSide: BorderSide(color: Colors.black)),
  159. enabledBorder: OutlineInputBorder(
  160. borderRadius:
  161. BorderRadius.all(Radius.circular(12)),
  162. borderSide: BorderSide(color: Colors.black)),
  163. labelText: 'Enter Image URL', //todo get data
  164. labelStyle: TextStyle(color: Colors.black),
  165. filled: true,
  166. fillColor: Colors.white.withOpacity(0.25)),
  167. cursorColor: Colors.black,
  168. style: TextStyle(color: Colors.black),
  169. ),
  170. ),
  171. ),
  172. Padding(
  173. padding: const EdgeInsets.all(8.0),
  174. child: SizedBox(
  175. width: 396,
  176. child: TextField(
  177. decoration: InputDecoration(
  178. border: OutlineInputBorder(),
  179. focusedBorder: OutlineInputBorder(
  180. borderRadius:
  181. BorderRadius.all(Radius.circular(12)),
  182. borderSide: BorderSide(color: Colors.black)),
  183. enabledBorder: OutlineInputBorder(
  184. borderRadius:
  185. BorderRadius.all(Radius.circular(12)),
  186. borderSide: BorderSide(color: Colors.black)),
  187. labelText: 'Enter Level', //todo get data
  188. labelStyle: TextStyle(color: Colors.black),
  189. filled: true,
  190. fillColor: Colors.white.withOpacity(0.25)),
  191. cursorColor: Colors.black,
  192. style: TextStyle(color: Colors.black),
  193. ),
  194. ),
  195. ),
  196. Padding(
  197. padding: const EdgeInsets.all(8.0),
  198. child: SizedBox(
  199. width: 396,
  200. child: TextField(
  201. decoration: InputDecoration(
  202. border: OutlineInputBorder(),
  203. focusedBorder: OutlineInputBorder(
  204. borderRadius:
  205. BorderRadius.all(Radius.circular(12)),
  206. borderSide: BorderSide(color: Colors.black)),
  207. enabledBorder: OutlineInputBorder(
  208. borderRadius:
  209. BorderRadius.all(Radius.circular(12)),
  210. borderSide: BorderSide(color: Colors.black)),
  211. labelText: 'Enter Status', //todo get data
  212. labelStyle: TextStyle(color: Colors.black),
  213. filled: true,
  214. fillColor: Colors.white.withOpacity(0.25)),
  215. cursorColor: Colors.black,
  216. style: TextStyle(color: Colors.black),
  217. ),
  218. ),
  219. ),
  220. Padding(
  221. padding: const EdgeInsets.all(8.0),
  222. child: SizedBox(
  223. width: 396,
  224. child: TextField(
  225. decoration: InputDecoration(
  226. border: OutlineInputBorder(),
  227. focusedBorder: OutlineInputBorder(
  228. borderRadius:
  229. BorderRadius.all(Radius.circular(12)),
  230. borderSide: BorderSide(color: Colors.black)),
  231. enabledBorder: OutlineInputBorder(
  232. borderRadius:
  233. BorderRadius.all(Radius.circular(12)),
  234. borderSide: BorderSide(color: Colors.black)),
  235. labelText: 'Enter Dev Status', //todo get data
  236. labelStyle: TextStyle(color: Colors.black),
  237. filled: true,
  238. fillColor: Colors.white.withOpacity(0.25)),
  239. cursorColor: Colors.black,
  240. style: TextStyle(color: Colors.black),
  241. ),
  242. ),
  243. ),
  244. Padding(
  245. padding: const EdgeInsets.all(20.0),
  246. child: SizedBox(
  247. width: 396,
  248. height: 61,
  249. child: ElevatedButton(
  250. onPressed: null, //todo save edit
  251. style: ElevatedButton.styleFrom(
  252. backgroundColor: Colors.black, //todo putih lage
  253. side: BorderSide(color: Colors.white),
  254. shape: RoundedRectangleBorder(
  255. borderRadius: BorderRadius.circular(12.0),
  256. ),
  257. ),
  258. child: Text(
  259. 'Edit',
  260. style: TextStyle(color: Colors.white),
  261. ),
  262. ),
  263. ),
  264. ),
  265. ],
  266. ),
  267. ],
  268. ),
  269. ),
  270. ]),
  271. bottomNavigationBar: Footer(),
  272. );
  273. }
  274. }