list.dart 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. import 'package:flutter/material.dart';
  2. class ListPage extends StatelessWidget {
  3. const ListPage({Key? key}) : super(key: key);
  4. @override
  5. Widget build(BuildContext context) {
  6. return Scaffold(
  7. resizeToAvoidBottomInset: false,
  8. backgroundColor: Theme.of(context).colorScheme.primaryContainer,
  9. body: ListView(
  10. children: [
  11. Row(
  12. children: [
  13. BackButton(),
  14. ],
  15. ),
  16. Card(
  17. child: Column(
  18. children: [
  19. Row(
  20. children: [
  21. Text(
  22. 'Top Menu',
  23. textAlign: TextAlign.left,
  24. ),
  25. Expanded(child: Container()),
  26. ElevatedButton(
  27. onPressed: () {
  28. print('Done');
  29. },
  30. child: Text('Done'))
  31. ],
  32. ),
  33. Row(
  34. children: [
  35. Image.asset(
  36. 'assets/images/food.png',
  37. width: 60,
  38. height: 60,
  39. fit: BoxFit.cover,
  40. ),
  41. Column(
  42. crossAxisAlignment: CrossAxisAlignment.start,
  43. children: [
  44. Text('Foods & Drinks'),
  45. Text('Description of foods & drink'),
  46. ],
  47. ),
  48. Expanded(child: Container()),
  49. Icon(Icons.do_not_disturb_on),
  50. Icon(Icons.dehaze),
  51. ],
  52. ),
  53. Row(
  54. children: [
  55. Image.asset(
  56. 'assets/images/service.png',
  57. width: 60,
  58. height: 60,
  59. fit: BoxFit.cover,
  60. ),
  61. Column(
  62. children: [
  63. Text('Services'),
  64. Text('Description of services'),
  65. ],
  66. ),
  67. Expanded(child: Container()),
  68. Icon(Icons.do_not_disturb_on),
  69. Icon(Icons.dehaze),
  70. ],
  71. ),
  72. Row(
  73. children: [
  74. Image.asset(
  75. 'assets/images/additional.png',
  76. width: 60,
  77. height: 60,
  78. fit: BoxFit.cover,
  79. ),
  80. Column(
  81. children: [
  82. Text('Additional'),
  83. Text('Description of additional'),
  84. ],
  85. ),
  86. Expanded(child: Container()),
  87. Icon(Icons.do_not_disturb_on),
  88. Icon(Icons.dehaze),
  89. ],
  90. ),
  91. Row(
  92. children: [
  93. Image.asset(
  94. 'assets/images/firstaid.png',
  95. width: 60,
  96. height: 60,
  97. fit: BoxFit.cover,
  98. ),
  99. Column(
  100. children: [
  101. Text('First Aid'),
  102. Text('Description of first aid'),
  103. ],
  104. ),
  105. Expanded(child: Container()),
  106. Icon(Icons.do_not_disturb_on),
  107. Icon(Icons.dehaze),
  108. ],
  109. ),
  110. Row(
  111. children: [
  112. Image.asset(
  113. 'assets/images/ticket.png',
  114. width: 60,
  115. height: 60,
  116. fit: BoxFit.cover,
  117. ),
  118. Column(
  119. children: [
  120. Text('Ticket'),
  121. Text('Description of ticket'),
  122. ],
  123. ),
  124. Expanded(child: Container()),
  125. Icon(Icons.do_not_disturb_on),
  126. Icon(Icons.dehaze),
  127. ],
  128. ),
  129. Row(
  130. children: [
  131. Image.asset(
  132. 'assets/images/vacation.png',
  133. width: 60,
  134. height: 60,
  135. fit: BoxFit.cover,
  136. ),
  137. Column(
  138. children: [
  139. Text('Vacation'),
  140. Text('Description of vacation'),
  141. ],
  142. ),
  143. Expanded(child: Container()),
  144. Icon(Icons.do_not_disturb_on),
  145. Icon(Icons.dehaze),
  146. ],
  147. ),
  148. Row(
  149. children: [
  150. Image.asset(
  151. 'assets/images/transportation.png',
  152. width: 60,
  153. height: 60,
  154. fit: BoxFit.cover,
  155. ),
  156. Column(
  157. children: [
  158. Text('Transportation'),
  159. Text('Description of transportation'),
  160. ],
  161. ),
  162. Expanded(child: Container()),
  163. Icon(Icons.do_not_disturb_on),
  164. Icon(Icons.dehaze),
  165. ],
  166. ),
  167. ],
  168. ),
  169. ),
  170. Card(
  171. child: Column(
  172. children: [
  173. Row(
  174. children: [
  175. Text(
  176. 'Available Menu',
  177. textAlign: TextAlign.left,
  178. ),
  179. ],
  180. ),
  181. Row(
  182. children: [
  183. Image.asset(
  184. 'assets/images/food.png',
  185. width: 60,
  186. height: 60,
  187. fit: BoxFit.cover,
  188. ),
  189. Column(
  190. children: [
  191. Text('Foods & Drinks'),
  192. Text('Description of foods & drink'),
  193. ],
  194. ),
  195. Expanded(child: Container()),
  196. Icon(Icons.add_circle),
  197. ],
  198. ),
  199. Row(
  200. children: [
  201. Image.asset(
  202. 'assets/images/service.png',
  203. width: 60,
  204. height: 60,
  205. fit: BoxFit.cover,
  206. ),
  207. Column(
  208. children: [
  209. Text('Services'),
  210. Text('Description of services'),
  211. ],
  212. ),
  213. Expanded(child: Container()),
  214. Icon(Icons.add_circle),
  215. ],
  216. ),
  217. Row(
  218. children: [
  219. Image.asset(
  220. 'assets/images/additional.png',
  221. width: 60,
  222. height: 60,
  223. fit: BoxFit.cover,
  224. ),
  225. Column(
  226. children: [
  227. Text('Additional'),
  228. Text('Description of additional'),
  229. ],
  230. ),
  231. Expanded(child: Container()),
  232. Icon(Icons.add_circle),
  233. ],
  234. ),
  235. ],
  236. ),
  237. ),
  238. ],
  239. ));
  240. }
  241. }