mirror of
				https://github.com/dancojocaru2000/logic-circuits-simulator.git
				synced 2025-11-04 08:56:34 +02:00 
			
		
		
		
	Added close button to new project dialog
This commit is contained in:
		
							parent
							
								
									2a19505ed3
								
							
						
					
					
						commit
						19ddc565ed
					
				
					 1 changed files with 10 additions and 0 deletions
				
			
		| 
						 | 
					@ -27,6 +27,16 @@ class NewProjectDialog extends HookWidget {
 | 
				
			||||||
            crossAxisAlignment: CrossAxisAlignment.stretch,
 | 
					            crossAxisAlignment: CrossAxisAlignment.stretch,
 | 
				
			||||||
            mainAxisSize: MainAxisSize.min,
 | 
					            mainAxisSize: MainAxisSize.min,
 | 
				
			||||||
            children: [
 | 
					            children: [
 | 
				
			||||||
 | 
					              Align(
 | 
				
			||||||
 | 
					                alignment: Alignment.centerRight,
 | 
				
			||||||
 | 
					                child: IconButton(
 | 
				
			||||||
 | 
					                  icon: const Icon(Icons.close),
 | 
				
			||||||
 | 
					                  tooltip: 'Close',
 | 
				
			||||||
 | 
					                  onPressed: () {
 | 
				
			||||||
 | 
					                    Navigator.of(context).pop();
 | 
				
			||||||
 | 
					                  },
 | 
				
			||||||
 | 
					                ),
 | 
				
			||||||
 | 
					              ),
 | 
				
			||||||
              Center(
 | 
					              Center(
 | 
				
			||||||
                child: Padding(
 | 
					                child: Padding(
 | 
				
			||||||
                  padding: const EdgeInsets.all(8.0),
 | 
					                  padding: const EdgeInsets.all(8.0),
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue