Compare commits
No commits in common. "b05950d59536b181cc332bb8b873a1cb732244c6" and "df51a6473b3cc9c98df301e6969fd86624c49fce" have entirely different histories.
b05950d595
...
df51a6473b
@ -34,6 +34,23 @@ class _NewTripPreferencesPageState extends State<NewTripPreferencesPage> with Sc
|
|||||||
child: Scaffold(
|
child: Scaffold(
|
||||||
body: ListView(
|
body: ListView(
|
||||||
children: [
|
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(
|
Center(
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: EdgeInsets.only(left: 10, right: 10, top: 20, bottom: 0),
|
padding: EdgeInsets.only(left: 10, right: 10, top: 20, bottom: 0),
|
||||||
@ -46,11 +63,6 @@ class _NewTripPreferencesPageState extends State<NewTripPreferencesPage> with Sc
|
|||||||
durationPicker(preferences.maxTime),
|
durationPicker(preferences.maxTime),
|
||||||
|
|
||||||
preferenceSliders([preferences.sightseeing, preferences.shopping, preferences.nature]),
|
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),
|
floatingActionButton: NewTripButton(trip: widget.trip, preferences: preferences),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user