nesward_flutter_app/lib/screens/home/home_screen.dart

33 lines
1003 B
Dart

import 'package:flutter/material.dart';
import '../../widgets/app_bar_widget.dart';
import '../../widgets/featured_categories_widget.dart';
import '../../widgets/hero_banner_widget.dart';
import '../../widgets/popular_products_widget.dart';
import '../../widgets/promo_banners_widget.dart';
class HomeScreen extends StatelessWidget {
const HomeScreen({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: const AppBarWidget(),
body: SingleChildScrollView(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
const HeroBannerWidget(),
const SizedBox(height: 20),
const FeaturedCategoriesWidget(),
const SizedBox(height: 20),
const PromoBannersWidget(),
const SizedBox(height: 20),
const PopularProductsWidget(),
const SizedBox(height: 40),
],
),
),
);
}
}