mirrored_repositories/WeatherAppUI/flutter_weather_app/lib
import 'package:flutter/material.dart';

import '../widgets/widgets.dart';

class HomeScreen extends StatelessWidget {
  const HomeScreen({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    final height = MediaQuery.of(context).size.height;
    final width = MediaQuery.of(context).size.width;
    return Stack(
      children: [
        Positioned(
          bottom: height / 2.4,
          child: Image.network(
            'https://i.ibb.co/Y2CNM8V/new-york.jpg',
            height: height,
          ),
        ),
        Positioned(
          child: Container(
            height: height / 2.4,
            width: width,
            color: const Color(0xFF2D2C35),
          ),
        ),
        const Foreground()
      ],
    );
  }
}
