ajout de la barre de navigation en bas
This commit is contained in:
+27
-19
@@ -4,6 +4,7 @@ import 'widgets/hero_section_widget.dart';
|
||||
import 'widgets/search_bar_widget.dart';
|
||||
import 'widgets/popular_places_widget.dart';
|
||||
import 'widgets/recommendation_widget.dart';
|
||||
import 'widgets/bottom_navigation_widget.dart';
|
||||
import 'theme/app_theme.dart';
|
||||
|
||||
void main() {
|
||||
@@ -31,26 +32,33 @@ class TravelHomePage extends StatelessWidget {
|
||||
return Scaffold(
|
||||
backgroundColor: AppTheme.backgroundColor,
|
||||
body: SafeArea(
|
||||
child: SingleChildScrollView(
|
||||
child: Column(
|
||||
children: [
|
||||
SizedBox(
|
||||
height: MediaQuery.of(context).size.height * 0.5,
|
||||
child: const HeroSectionWidget(),
|
||||
child: Column(
|
||||
children: [
|
||||
Expanded(
|
||||
child: SingleChildScrollView(
|
||||
child: Column(
|
||||
children: [
|
||||
SizedBox(
|
||||
height: MediaQuery.of(context).size.height * 0.5,
|
||||
child: const HeroSectionWidget(),
|
||||
),
|
||||
|
||||
const SizedBox(height: 20),
|
||||
|
||||
const PopularPlacesWidget(),
|
||||
|
||||
const SizedBox(height: 20),
|
||||
|
||||
const RecommendationWidget(),
|
||||
|
||||
const SizedBox(height: 20),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
const SizedBox(height: 20),
|
||||
|
||||
const PopularPlacesWidget(),
|
||||
|
||||
const SizedBox(height: 20),
|
||||
|
||||
// Section Recommendation
|
||||
const RecommendationWidget(),
|
||||
|
||||
const SizedBox(height: 20),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
const BottomNavigationWidget(),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user