| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -10,11 +10,9 @@ class FilesBrowserNavigator extends StatelessWidget { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  final List<String> path; | 
					 | 
					 | 
					 | 
					  final List<String> path; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  final FilesBrowserBloc bloc; | 
					 | 
					 | 
					 | 
					  final FilesBrowserBloc bloc; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  static const double _height = 30; | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  @override | 
					 | 
					 | 
					 | 
					  @override | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Widget build(final BuildContext context) => SizedBox( | 
					 | 
					 | 
					 | 
					  Widget build(final BuildContext context) => SizedBox( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        height: _height, | 
					 | 
					 | 
					 | 
					        height: ButtonTheme.of(context).height, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        child: ListView.separated( | 
					 | 
					 | 
					 | 
					        child: ListView.separated( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          padding: const EdgeInsets.symmetric( | 
					 | 
					 | 
					 | 
					          padding: const EdgeInsets.symmetric( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            horizontal: 10, | 
					 | 
					 | 
					 | 
					            horizontal: 10, | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -30,10 +28,7 @@ class FilesBrowserNavigator extends StatelessWidget { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                  vertical: VisualDensity.minimumDensity, | 
					 | 
					 | 
					 | 
					                  vertical: VisualDensity.minimumDensity, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                ), | 
					 | 
					 | 
					 | 
					                ), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                tooltip: AppLocalizations.of(context).goToPath(''), | 
					 | 
					 | 
					 | 
					                tooltip: AppLocalizations.of(context).goToPath(''), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                icon: const Icon( | 
					 | 
					 | 
					 | 
					                icon: const Icon(Icons.house), | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                  Icons.house, | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                  size: _height, | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                ), | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                onPressed: () { | 
					 | 
					 | 
					 | 
					                onPressed: () { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                  bloc.setPath([]); | 
					 | 
					 | 
					 | 
					                  bloc.setPath([]); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                }, | 
					 | 
					 | 
					 | 
					                }, | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -43,24 +38,17 @@ class FilesBrowserNavigator extends StatelessWidget { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            final path = this.path.sublist(0, index); | 
					 | 
					 | 
					 | 
					            final path = this.path.sublist(0, index); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            final label = path.join('/'); | 
					 | 
					 | 
					 | 
					            final label = path.join('/'); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            return Tooltip( | 
					 | 
					 | 
					 | 
					            return TextButton( | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              message: AppLocalizations.of(context).goToPath(label), | 
					 | 
					 | 
					 | 
					              onPressed: () { | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              excludeFromSemantics: true, | 
					 | 
					 | 
					 | 
					                bloc.setPath(path); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              child: TextButton( | 
					 | 
					 | 
					 | 
					              }, | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                onPressed: () { | 
					 | 
					 | 
					 | 
					              child: Text( | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                  bloc.setPath(path); | 
					 | 
					 | 
					 | 
					                path.last, | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                }, | 
					 | 
					 | 
					 | 
					                semanticsLabel: AppLocalizations.of(context).goToPath(label), | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                child: Text( | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                  path.last, | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                  semanticsLabel: AppLocalizations.of(context).goToPath(label), | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                ), | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              ), | 
					 | 
					 | 
					 | 
					              ), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            ); | 
					 | 
					 | 
					 | 
					            ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          }, | 
					 | 
					 | 
					 | 
					          }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          separatorBuilder: (final context, final index) => const Icon( | 
					 | 
					 | 
					 | 
					          separatorBuilder: (final context, final index) => const Icon(Icons.keyboard_arrow_right), | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            Icons.keyboard_arrow_right, | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            size: _height, | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          ), | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        ), | 
					 | 
					 | 
					 | 
					        ), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      ); | 
					 | 
					 | 
					 | 
					      ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					} | 
					 | 
					 | 
					 | 
					} | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
					 | 
					 | 
					
  |