mirrored_repositories/Stheer/lib
import 'package:flutter/material.dart';
import 'package:notifoo/widgets/Pomodoro/BannerPomodoro.dart';
import 'package:notifoo/widgets/Pomodoro/PomodoroTaskWidget.dart';
import 'package:notifoo/widgets/Pomodoro/pomodoroSavedListW.dart';
import 'package:notifoo/widgets/Topbar.dart';
import 'package:notifoo/widgets/headline.dart';
import 'package:notifoo/widgets/home/home_banner_widget.dart';

class PomodoroHome extends StatefulWidget {
  PomodoroHome({Key? key, this.title}) : super(key: key);

  final String? title;

  @override
  _PomodoroHomeState createState() => _PomodoroHomeState();
}

List<Color> _pagePomodoroColor = [Color(0xffecccc0), Color(0xffe7c1ed)];

class _PomodoroHomeState extends State<PomodoroHome> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Color(0xffE7C1ED), // Color(
      // 0xff3F2F40), //Color.fromRGBO(139, 67, 152, 1.0), //Color.fromRGBO(58, 66, 86, 1.0),
      body: SafeArea(
        maintainBottomViewPadding: true,
        top: false,
        child: Container(
          //height: MediaQuery.of(context).size.height,
          decoration: BoxDecoration(
            gradient: LinearGradient(
              colors: _pagePomodoroColor,

              begin: Alignment.bottomRight,
              end: Alignment.topLeft,
              //stops: _stops
            ),
          ),
          child: Stack(
            fit: StackFit.loose,
            alignment: AlignmentDirectional.topStart,
            children: [
              Container(
                height: 500,
                child: Column(
                  crossAxisAlignment: CrossAxisAlignment.start,
                  mainAxisAlignment: MainAxisAlignment.start,
                  children: [
                    PomodoroBannerW(),
                    Headline(title: "Today's Focus"),
                    TaskWidget(),
                    Headline(title: "Pomodoros"),
                  ],
                ),
              ),
              PomodoroSavedListW(),
            ],
          ),
        ),
      ),
    );
  }
}
