0% found this document useful (0 votes)
3 views8 pages

Mobile App Development Lab Task

The document outlines a mobile application lab task assigned to Danial by Muhammad Javed Raza. It includes three questions focused on creating a Flutter application using MaterialApp, implementing Scaffold and AppBar, and working with Material Widgets. Each question specifies design requirements and features to be included in the application, such as themes, layout specifications, and widget usage.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views8 pages

Mobile App Development Lab Task

The document outlines a mobile application lab task assigned to Danial by Muhammad Javed Raza. It includes three questions focused on creating a Flutter application using MaterialApp, implementing Scaffold and AppBar, and working with Material Widgets. Each question specifies design requirements and features to be included in the application, such as themes, layout specifications, and widget usage.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

SUBMITTED TO MUHAMMAD JAVED RAZA

SUBMITTED BY DANIAL
REGISTRATION
FA20-BCS-062

MOBILE APPLICATION
LAB TASK
QUESTION 1
Question 1: Understanding MaterialApp 1. Create a Flutter application using MaterialApp with the
following properties: o Disable the debug banner. o Set a custom title for the application. o Apply a theme
with primaryColor as blue and accentColor as orange. 2. Add a dark theme to the above app and toggle
between light and dark themes using a boolean variable. 3. Modify the MaterialApp to display a simple
Scaffold with a Text widget as the body
SCREENSHOT
Output
Question 2
Question 2: Scaffold and AppBar 4. Create a layout with the following specifications: o Use Scaffold. o
Add an AppBar with a title "Material Widgets Lab". o Add a FloatingActionButton with an icon. 5.
Customize the AppBar by: o Adding a background color and elevation. o Including an action button (like
a search icon) in the actions list.
Screenshot
Output
Question 3
Question 3: Working with Material Widgets 6. Design a simple app with: o A Card widget containing a
ListTile with an icon, title, and subtitle. o Add padding around the card. 7. Create a layout using the
Container widget to design a simple profile card: o Add a circular avatar image (use CircleAvatar). o
Display a name and a short bio beneath the avatar using Text widgets.
Screenshot
OUTPUT

You might also like