Steemit Learning Challenge Application for Season 22: Functional Applications, WhatsApp Clone and Shared Preferences in Flutter
Greetings Dear Steemit Team!
I am Muhammad Faisal with the Steemit username @mohammadfaisal. I joined Steemit platform in 2018. I am an old user of this platform. I have actively worked in different programs of the Steemit platform.
First of all I want to thank the Steemit Team for bringing new and innovative ideas for the growth and increased engagement of the platform by providing learning lectures for the steemians as well as for the public. It is indeed the wonderful opportunity for the whole steemit community to contribute in this new innovative program. I am excited to join the teaching team for the season 22 as a Flutter Mobile Application Developer.
I was the part of the season 20 as well in which I taught students the basics of the flutter mobile application development. I tried to cover all the aspects which are used to design the user interface from basic to advance. I provided detailed lectures for the students and at the end of each lecture I gave interactive assignments to the students as well as project related to the things which I taught them.
And by continuing with that course I will now teach the students to create functional applications as well as I will teach them to design the complex user interfaces applications. I have decided to teach the students the complete clone user interface of WhatsApp. I have divided the development of the WhatsApp application in different parts so that the students can easily learn and complete the design with me.
And at the end of the course students have their own functional calculator and complete clone of the WhatsApp. After the completion of the WhatsApp clone user interface I have decided to teach the students shared preferences. I will teach the students to manage the user session with the help of the shared preferences. I will teach the students to create a splash screen. Then I will teach the students to store the log in and sign up information of in the log in screen. And if the user has already sign up then the application will direct the users to the log in screen and if the user is already log in then the user will be directed to the home screen after the splash screen.
After the completion of these things I will work on teaching the students about fetching APIs and displaying the data in the applications to make the real time updating applications.
Some examples of the weekly lessons are given below:
Week 1: Complete Functional Calculator UI Design and Layout
- Overview of what a functional calculator looks like.
- Discussion on the importance of UI in applications.
- Using
Scaffold
to set up the foundation of the app. - How to organize UI elements in a
Column
andRow
. - Building a
Container
to display inputs and results. - Using the
Text
widget for showing numbers and expressions. - Creating a reusable button widget with
ElevatedButton
. - Styling buttons using
ElevatedButton.styleFrom
for rounded corners and custom colors. - Aligning buttons in rows using
Row
and making them flexible withExpanded
. - Differentiating between number buttons, operator buttons, and special buttons.
- Assigning different colors to operator buttons and number buttons.
- Passing button text and color as parameters to make the buttons dynamic.
- Making the button layout adaptive to screen sizes using the
Expanded
widget.
Week 1 Assignment
- Design the complete UI for the calculator, including the display area, numeric buttons, operator buttons, and special buttons such as AC, %, =, etc.
- Ensure the layout is responsive on different screen sizes such as emulators or physical devices.
- Run the application in desktop version and showing by minimizing and maximizing the screen size that all the components look fine and do not overflow and overlap with each other.
Week 2: Implementing Calculator Logic
- A brief overview and feedback on the calculator's UI.
- Handling button press events using
onPressed
. - Storing inputs (numbers, operators) in a string variable.
- Implementing addition, subtraction, multiplication, and division operations.
- Dynamically updating the input/output display using
setState
. - Introducing the
Parser
class to evaluate user inputs. - Replacing
x
with*
for multiplication and usingevaluate()
for calculations. - AC (All Clear): Clearing the input and result.
- Backspace (
<
): Deleting the last input character. - Percentage (
%
): Calculating the percentage of the current input. - Decimal Point (
.
): Handling decimal numbers. - Parsing the entire input when the equal button is pressed.
- Calculating and displaying the result and rounding the result when needed.
- Preventing multiple operators or invalid sequences.
- Managing division by zero and other common errors.
Week 2 Assignment
- Implement the full logic behind the calculator.
- Ensure that all buttons are functional, including numeric inputs, operators, special buttons, and result computation.
- Submit a working app and demonstrate the calculation functionality.
Week 3: Building Complete WhatsApp UI Part 1
Topics:
- Overview of the UI
- Welcome Screen ( Language Selection using Radio Buttons, FloatingActionButton, Colour Synchronisation with WhatsApp).
- Terms and Conditions Screen ( Dropdown to choose language, Container as button, Colour Synchronisation with WhatsApp)
- Phone Number Screen (Input fields to add phone number and country code. Adding a button to go on the next screen, Colour Synchronisation with WhatsApp.)
- Verification Screen (Phone number verification, code submission, timer text, and submit button, Colour Synchronisation with WhatsApp.)
Week 3 Assignment
- Design Complete Welcome Screen of WhatsApp
- Design Complete UI of Terms and Conditions Screen
- Design complete UI of Phone Number Screen
- Design complete UI of Verification Screen
- Combine all the screens in order and run the application and show live results of the screens added in the WhatsApp application.
Synchronize all the colours as in the WhatsApp. And follow the instructions and way of managing the complex user interfaces and screens as taught in the lecture.
Week 4: Building Complete WhatsApp UI Part 2
- AppBar with Menu Button and Camera Icon
- Bottom Navigation Bar and adding items such as Chats, Updates, Communities and Calls
- Chat Screen design, adding search bar and designing the content display using ListTile and ListView.builder
- Communities screen
- Calls screen (Call link and list of calls)
Week 4 Assignment
- Design AppBar for the chat screen of the WhatsApp as taught .
- Design complete Navigation Bar using icons and texts. Implement tabBar view to move between different tabs by sliding as well as by clicking the icon.
- Design Chat screen starting from the search bar. Search bar should be same. Build a list for the chats and each profile picture should be different with different name and text as well as different text time. Build a list of minimum 20 users.
- Design communities screen. As a hint use stack to add plus icon on the community icon. Also implement menu button and add settings in the menu .
- Design calls screen. Build appBar and add menu button to display different options as in the WhatsApp. Create call link layout and list of the calls. For this use different caller pictures, names, incoming and outgoing and call time. Create a caller list of at least 10 people.
- Merge all the screens in order with the screens of previous week and run the application to show all the attacked screen and progress for the development of the WhatsApp UI clone.
These are all the practical lectures and homeworks to bring quality content which will add value to the platform and can attract the outsider visitors who are looking for the flutter development learning. There are many students who are looking for the flutter mobile application development and they are searching it on search engines on a daily basis. Here through this course they will get step by step training through the screenshots and gifs of the code and the working of the development.
If we see the google trends for this then we can conclude that people from different regions are searching it and its trend is increasing.
Social | Handle |
---|---|
Telegram | mohammadfaisal7 |
Discord | mohammadfaisal7 |
A very well designed course, but there were problems to get enough participants in Season 20.
Do you have any ideas on how to get more people to take your course in Season 22?
Thank you so much for the concerns and highlighting the problem. Yes I agreed with you there were less participants. Actually it was a completely practical course where the users have to perform all the tasks by themselves.
On the other hand I tried to cover many things in each single lecture by putting a lot of efforts to teach the students because I had to show each task practically by myself and by providing the complete and clear code along with the output Gifs and according to that lecture the students also had to prepare their homeworks. Each task in this course is practical and in this way we get valuable and unique content from the users.
But now in order to attract the more participants I will provide small tasks so that the students can understand them easily and can perform them practically. I will further simplify the learning lectures as well so that the students can digest them easily.
Furthermore I will share the lectures on my social media such as facebook and whatsapp statuses to attract my fellows to join this course. I assure you that this course can add value to the platform with unique content.
Moreover if you have any suggestions then all the suggestions are welcome I am willing to modify the course according to your suggestions.