add some padding to the sliders
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Build and deploy the backend to staging / Build and push image (pull_request) Successful in 2m57s
				
			
		
			
				
	
				Run linting on the backend code / Build (pull_request) Successful in 28s
				
			
		
			
				
	
				Build and deploy the backend to staging / Deploy to staging (pull_request) Successful in 24s
				
			
		
			
				
	
				Run testing on the backend code / Build (pull_request) Has been cancelled
				
			
		
			
				
	
				Build and release debug APK / build (pull_request) Has been cancelled
				
			
		
			
				
	
				Build and release debugging app to ios testflight / build (pull_request) Has been cancelled
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Build and deploy the backend to staging / Build and push image (pull_request) Successful in 2m57s
				
			Run linting on the backend code / Build (pull_request) Successful in 28s
				
			Build and deploy the backend to staging / Deploy to staging (pull_request) Successful in 24s
				
			Run testing on the backend code / Build (pull_request) Has been cancelled
				
			Build and release debug APK / build (pull_request) Has been cancelled
				
			Build and release debugging app to ios testflight / build (pull_request) Has been cancelled
				
			This commit is contained in:
		| @@ -34,23 +34,6 @@ class _NewTripPreferencesPageState extends State<NewTripPreferencesPage> with Sc | ||||
|       child: Scaffold( | ||||
|         body: ListView( | ||||
|           children: [ | ||||
|             // Center( | ||||
|             //   child: CircleAvatar( | ||||
|             //     radius: 100, | ||||
|             //     child: Icon(Icons.person, size: 100), | ||||
|             //   ) | ||||
|             // ), | ||||
|             // Padding(padding: EdgeInsets.only(top: 30)), | ||||
|             // Center( | ||||
|             //   child: FutureBuilder( | ||||
|             //     future: widget.trip.cityName, | ||||
|             //     builder: (context, snapshot) => Text( | ||||
|             //       'Your trip to ${snapshot.hasData ? snapshot.data! : "..."}', | ||||
|             //       style: TextStyle(fontSize: 24, fontWeight: FontWeight.bold) | ||||
|             //     ) | ||||
|             //   ) | ||||
|             // ), | ||||
|  | ||||
|           Center( | ||||
|             child: Padding( | ||||
|             padding: EdgeInsets.only(left: 10, right: 10, top: 20, bottom: 0), | ||||
| @@ -63,6 +46,11 @@ class _NewTripPreferencesPageState extends State<NewTripPreferencesPage> with Sc | ||||
|           durationPicker(preferences.maxTime), | ||||
|  | ||||
|           preferenceSliders([preferences.sightseeing, preferences.shopping, preferences.nature]), | ||||
|  | ||||
|           // Add a conditional padding to avoid the floating button covering the last slider | ||||
|           Padding( | ||||
|             padding: EdgeInsets.only(bottom: MediaQuery.of(context).viewInsets.bottom + 80), | ||||
|             ), | ||||
|         ] | ||||
|       ), | ||||
|       floatingActionButton: NewTripButton(trip: widget.trip, preferences: preferences), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user