| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -35,6 +35,14 @@ ThemeData getThemeFromNextcloudTheme( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    secondary: keepOriginalAccentColorOverride, | 
					 | 
					 | 
					 | 
					    secondary: keepOriginalAccentColorOverride, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  ); | 
					 | 
					 | 
					 | 
					  ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					  final fillColor = MaterialStateProperty.resolveWith((final states) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    if (states.contains(MaterialState.disabled)) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      return selectBrightness == Brightness.dark ? Colors.white38 : Colors.black38; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    return colorScheme.primary; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					  }); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  return ThemeData( | 
					 | 
					 | 
					 | 
					  return ThemeData( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    useMaterial3: true, | 
					 | 
					 | 
					 | 
					    useMaterial3: true, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    colorScheme: colorScheme, | 
					 | 
					 | 
					 | 
					    colorScheme: colorScheme, | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -45,13 +53,7 @@ ThemeData getThemeFromNextcloudTheme( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      behavior: SnackBarBehavior.floating, | 
					 | 
					 | 
					 | 
					      behavior: SnackBarBehavior.floating, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ), | 
					 | 
					 | 
					 | 
					    ), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    checkboxTheme: CheckboxThemeData( | 
					 | 
					 | 
					 | 
					    checkboxTheme: CheckboxThemeData( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      fillColor: MaterialStateProperty.resolveWith((final states) { | 
					 | 
					 | 
					 | 
					      fillColor: fillColor, | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        if (states.contains(MaterialState.disabled)) { | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          return selectBrightness == Brightness.dark ? Colors.white38 : Colors.black38; | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        } | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        return colorScheme.primary; | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      }), | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      checkColor: MaterialStateProperty.resolveWith((final states) => colorScheme.onPrimary), | 
					 | 
					 | 
					 | 
					      checkColor: MaterialStateProperty.resolveWith((final states) => colorScheme.onPrimary), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ), | 
					 | 
					 | 
					 | 
					    ), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    dividerTheme: const DividerThemeData( | 
					 | 
					 | 
					 | 
					    dividerTheme: const DividerThemeData( | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -66,5 +68,8 @@ ThemeData getThemeFromNextcloudTheme( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              : const Color(0xFF404040) | 
					 | 
					 | 
					 | 
					              : const Color(0xFF404040) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          : const Color(0xFFEAEAEA), | 
					 | 
					 | 
					 | 
					          : const Color(0xFFEAEAEA), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ), | 
					 | 
					 | 
					 | 
					    ), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    radioTheme: RadioThemeData( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      fillColor: fillColor, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    ), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  ); | 
					 | 
					 | 
					 | 
					  ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					} | 
					 | 
					 | 
					 | 
					} | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
					 | 
					 | 
					
  |