CH8 - Introduction To Flutter - Part 2updated
CH8 - Introduction To Flutter - Part 2updated
Flutter-Part 2
Getting started with Flutter
SWE483 - Mobile Applications Development
Flutter UI
https://flutter.dev/docs/development/ui/widgets-intro
https://api.flutter.dev/flutter/widgets/Container-class.html
3
Flutter UI:
• Flutter provides a number of widgets that help you build apps that follow Material
Design (common mobile app design: it is a good practice)
• A Material app starts with the MaterialApp widget, which builds a number of
useful widgets at the root of the app, including a Navigator
• Navigator manages a stack of widgets identified by strings, also known as
“routes”. It allows smooth transition between screens of the application..
4
https://flutter.dev/docs/development/ui/widgets/layout
8
• Material widgets
• Card: Organizes related info into a box with rounded corners and a drop
shadow.
• ListTile: Organizes up to 3 lines of text, and optional leading and trailing
icons, into a row.
14
AppBar Widget
• The AppBar displays the toolbar widgets, leading, title, and actions, above
the bottom (if any). The bottom is usually used for a TabBar. If a
flexibleSpace widget is specified then it is stacked behind the toolbar and
the bottom widget.
• The following diagram shows where each of these slots appears in the
toolbar when the writing language is left-to-right
17
Flutter UI:
Material Components Example
Step1
Step2
Step4
24
Step3
Step1
Step4
Summary
System Overview
Summary
Features
27
Resources
• https://dart.dev/guides/language/language-tour
• https://flutterbyexample.com
• https://flutter.dev/docs/development/ui/widgets-intro
• https://api.flutter.dev/flutter/widgets/Container-class.html
28
Enjoy Developing!
Wish you all the BEST ...