Task_Manager
Task_Manager
manager
plan perfect
"Simplify Your Schedule, Boost Your
Productivity"
Date : 13/7/2024
Introduction :-
• Overview
• This code defines a simple schedule manager app using Flutter. The app
consists of three main screens: a splash screen, a home screen, and an
add/edit schedule screen. The main functionalities include adding, editing,
and deleting schedules.
Main.dart :-
3.SplashScreen Class:
4.HomeScreen Class:
1.AddScheduleScreen Class:
1. Provides a form for adding or editing a schedule.
2. Contains text fields for entering the schedule title and
time.
3. Validates input and returns the entered schedule data
to the home screen.
Detail
Description :-
2.SplashScreen:
•Uses AnimationController and CurvedAnimation for
the fade-in effect.
•Once the animation is completed, it navigates to the HomeScreen.
3.HomeScreen:
•Manages a list of schedules (_schedules).
•Provides methods to add (_addSchedule), edit (_editSchedule), and delete
(_deleteSchedule) schedules.
•Displays the schedules in a ListView.
•Contains a navigation drawer with options like Home, Settings, and Logout.
4.AddScheduleScreen:
•Uses TextEditingController for managing the text input for schedule title and time.
•If editing an existing schedule, it pre-fills the text fields with the current values.
•Validates the input and sends the result back to the HomeScreen.
OUTPUT :-
1.Home Screen UI:
2. The home screen features a navigation drawer
accessible via an icon on the top-left corner of the app
bar. The drawer includes options for Home, Settings,
and Logout.
3. The main content of the home screen includes a
welcome message: "Welcome to Schedule Manager
add Your Task" in a large, bold, purple-accented font,
centered on the screen.
4. Below the welcome message, there is an "Add
Schedule" button that users can press to add a new
schedule.
2.Adding a Schedule:
2. When the user presses the "Add Schedule" button,
they are navigated to the Add Schedule screen.
3. This screen features two text fields for entering the
schedule title and time.
4. After entering the details, the user can press the "Add
Schedule" button to save the new schedule.
5. If either the title or time field is empty, an alert dialog
is shown, prompting the user to enter both fields.
3.Viewing Schedules:
2. Once a schedule is added, it appears in a list
on the home screen.
3. Each schedule item in the list displays the title
and time entered by the user.
4. Each schedule item also includes edit and
delete icons.
4.Editing a Schedule:
2. Pressing the edit icon navigates the user back
to the Add Schedule screen, where the
existing title and time are pre-filled in the text
fields.
5.Deleting a Schedule:
2. Pressing the delete icon removes the
corresponding schedule from the list.
6.Navigation bar :
7. Home: Navigates to the home screen.
8. Settings: Currently, this option doesn't have a
defined route and would need to be
implemented for additional functionality.
9. Logout: This option is a placeholder and does
not have functionality implemented in the
provided code.
Limitations of the projects :-
•Data Persistence:
•Limitation: The schedules are stored only in the app's state, meaning they will be lost if the app is
closed or restarted.
•No Authentication:
•Limitation: There's no user authentication, meaning the app doesn't support multiple users or secure
access.
•Limited Input Validation:
•Limitation: Basic validation is provided for the title and time fields, but it doesn't check for valid
date/time formats or prevent duplicate entries.
•No Reminder or Notification Feature:
•Limitation: The app doesn't send reminders or notifications for scheduled tasks.
•Basic UI/UX Design:
•Limitation: The user interface is simple and lacks advanced design elements.
•No Support for Recurring Tasks:
•Limitation: The app doesn't support creating recurring tasks or schedules.
•Scalability Issues:
•Limitation: As the number of schedules increases, the app's performance may degrade due to the lack of efficient
data handling.
•Solution: Optimize data handling and use efficient data structures or pagination for displaying large lists of
schedules.
•Accessibility:
•Limitation: The app may not be fully accessible to users with disabilities.
•Solution: Follow accessibility guidelines to ensure the app is usable by everyone, including those with visual or motor
impairments.
Customization Options:
•Limitation: Users cannot customize the app's appearance or behavior to suit their
preferences.
•Solution: Provide options for users to customize themes, colors, and notification settings.
Usefulness of the task manager :-
• The schedule manager app project has several useful aspects for both users and
developers, contributing to its overall value and potential impact. Here’s an in-
depth look at the usefulness of this project: