| 
									
										
										
										
											2025-08-15 17:11:26 +08:00
										 |  |  | import 'package:flutter/cupertino.dart'; | 
					
						
							|  |  |  | import 'package:flutter/material.dart'; | 
					
						
							|  |  |  | import 'package:qhd_prevention/pages/home/SafetyCommitment/safety_commitment_other_list_page.dart'; | 
					
						
							|  |  |  | import 'package:qhd_prevention/pages/home/SafetyCommitment/safety_commitment_tab_list.dart'; | 
					
						
							|  |  |  | import 'package:qhd_prevention/pages/home/tap/item_list_widget.dart'; | 
					
						
							|  |  |  | import 'package:qhd_prevention/pages/my_appbar.dart'; | 
					
						
							|  |  |  | import 'package:qhd_prevention/tools/tools.dart'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class SafetyCommitmentPage extends StatefulWidget { | 
					
						
							|  |  |  |   const SafetyCommitmentPage({super.key}); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   @override | 
					
						
							|  |  |  |   State<SafetyCommitmentPage> createState() => _SafetyCommitmentPageState(); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class _SafetyCommitmentPageState extends State<SafetyCommitmentPage> { | 
					
						
							|  |  |  |   @override | 
					
						
							|  |  |  |   Widget build(BuildContext context) { | 
					
						
							|  |  |  |     return Scaffold( | 
					
						
							|  |  |  |       appBar: MyAppbar(title: "安全承诺"), | 
					
						
							|  |  |  |       body: Column( | 
					
						
							|  |  |  |         children: [ | 
					
						
							| 
									
										
										
										
											2025-08-22 09:02:35 +08:00
										 |  |  |           Container( | 
					
						
							|  |  |  |             color: Colors.white, | 
					
						
							|  |  |  |             padding: EdgeInsets.only(top: 10), | 
					
						
							|  |  |  |             child: Column( | 
					
						
							|  |  |  |               children: [ | 
					
						
							|  |  |  |                 ItemListWidget.selectableLineTitleTextRightButton( | 
					
						
							| 
									
										
										
										
											2025-09-06 17:38:07 +08:00
										 |  |  |                   label: '危化行业安全承诺', | 
					
						
							| 
									
										
										
										
											2025-08-22 09:02:35 +08:00
										 |  |  |                   isEditable: true, | 
					
						
							|  |  |  |                   isRequired: false, | 
					
						
							|  |  |  |                   onTap: () { | 
					
						
							|  |  |  |                     pushPage(SafetyCommitmentTabList(), context); | 
					
						
							|  |  |  |                   }, | 
					
						
							|  |  |  |                   text: ' ', | 
					
						
							|  |  |  |                 ), | 
					
						
							|  |  |  |                 const Divider(), | 
					
						
							|  |  |  |                 ItemListWidget.selectableLineTitleTextRightButton( | 
					
						
							| 
									
										
										
										
											2025-09-06 17:38:07 +08:00
										 |  |  |                   label: '其他行业安全承诺', | 
					
						
							| 
									
										
										
										
											2025-08-22 09:02:35 +08:00
										 |  |  |                   isEditable: true, | 
					
						
							|  |  |  |                   isRequired: false, | 
					
						
							|  |  |  |                   onTap: () { | 
					
						
							|  |  |  |                     pushPage(SafetyCommitmentOtherListPage(), context); | 
					
						
							|  |  |  |                   }, | 
					
						
							|  |  |  |                   text: ' ', | 
					
						
							|  |  |  |                 ), | 
					
						
							|  |  |  |                 const Divider(color: Colors.white,), | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |               ], | 
					
						
							| 
									
										
										
										
											2025-08-15 17:11:26 +08:00
										 |  |  |             ), | 
					
						
							| 
									
										
										
										
											2025-08-21 16:44:24 +08:00
										 |  |  |           ), | 
					
						
							| 
									
										
										
										
											2025-08-15 17:11:26 +08:00
										 |  |  |         ], | 
					
						
							|  |  |  |       ), | 
					
						
							|  |  |  |     ); | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } |