editbug.dart 13 KB

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