| 
					
				 | 
			
			
				@@ -1,42 +1,12 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import 'package:flutter/material.dart'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import 'package:go_router/go_router.dart'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-// import 'package:intl/intl.dart'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import 'package:namer_app/data.dart'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 class ListPage extends StatelessWidget { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   const ListPage({Key? key}) : super(key: key); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   @override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   Widget build(BuildContext context) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    final List<Data> items = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      Data( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          type: 'Foods & Drinks', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          color: Color(0xffCCA600), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          image: 'assets/images/food.png'), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      Data( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          type: 'Services', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          color: Color(0xff90D8F9), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          image: 'assets/images/service.png'), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      Data( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          type: 'Additional', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          color: Color(0xffAACEE0), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          image: 'assets/images/additional.png'), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      Data( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          type: 'First Aid', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          color: Color(0xffFF1111), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          image: 'assets/images/firstaid.png'), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      Data( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          type: 'Ticket', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          color: Color(0xff5ED8F6), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          image: 'assets/images/ticket.png'), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      Data( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          type: 'Vacation', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          color: Color(0xffCCA600), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          image: 'assets/images/vacation.png'), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      Data( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          type: 'Transportation', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          color: Color(0xff6C8BA5), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          image: 'assets/images/transportation.png'), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    ]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return Scaffold( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         appBar: AppBar( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           backgroundColor: Color(0xff078C84), 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -79,10 +49,16 @@ class ListPage extends StatelessWidget { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   border: Border.all(color: Color(0xff078C84))), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               child: Column( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 children: [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  Container( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    margin: EdgeInsets.symmetric(vertical: 5), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    color: Color(0xff292D32).withOpacity(0.15), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    height: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    width: 24, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  ), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   TopMenu(), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   Column( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     children: List.generate( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        items.length, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        7, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         (i) => SizedBox( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                               child: ListTile( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 leading: gambar(items[i]), 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -117,7 +93,7 @@ class ListPage extends StatelessWidget { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ])); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  Container gambar(Data items) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  Container gambar(items) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return Container( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       decoration: BoxDecoration( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           border: Border.all(color: items.color), 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -186,22 +162,11 @@ class TopMenu extends StatelessWidget { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             style: TextStyle( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 fontWeight: FontWeight.bold, color: Color(0xff292D32)), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           ), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          Expanded( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            child: Column( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              mainAxisAlignment: MainAxisAlignment.center, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              children: [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                Container( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  color: Color(0xff292D32).withOpacity(0.15), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  height: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  width: 24, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              ], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            ), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          ), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          Spacer(), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           ElevatedButton( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               style: ElevatedButton.styleFrom( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   backgroundColor: Color(0xff078C84).withOpacity(0.1)), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              onPressed: () => context.go('/listblock'), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              onPressed: () => context.go('/list/listblock'), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               child: Text( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 'Done', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 style: TextStyle( 
			 |