SlideShare a Scribd company logo
Bina Nusantara Kemanggisan
We’re gonna learn a lot today!
Bina Nusantara Kemanggisan
A good day to learn
Bina Nusantara Kemanggisan
Let’s make a
Bina Nusantara Kemanggisan
Bina Nusantara Kemanggisan
Builder, Center, Form, Container, Column, Text,
TextFormField, FlatButton, Snackbar
Components used
Bina Nusantara Kemanggisan
Builder (context)
Used to pass a context of the builder.
Code used
SizedBox(height)
To give a gap between widgets inside a column
Bina Nusantara Kemanggisan
Center(child)
To make all the widgets in it centered on the screen
Code used
Container(child, padding)
This widget is used to contain a child widget with the
ability to apply some styling properties i.e padding, margin,
width, height
Bina Nusantara Kemanggisan
Text(string, style)
To display a text.
Code used
● String parameter needs the string that want to be passed
and shown.
● Style parameter needs the TextStyle
Bina Nusantara Kemanggisan
TextFormField(decoration, texthint, onsaved, obscureText)
Used to get input from user.
Code used
● The decoration is used to give a style using TextStyle.
● The texthint parameter is used to give a placeholder.
● Onsaved is used to trigger an action when a the field is saved.
● ObscureText is used to change text character to password.
Bina Nusantara Kemanggisan
FlatButton(child, onPressed)
Used to get input from user.
Code used
● The child parameter is widget inside the button such as Text
to give a text to the button
● onPressed(must be implemented) parameter is the function
you want to run when the button is pressed.
Bina Nusantara Kemanggisan
Scaffold.of(context).showSnackBar(content)
Code used
● The content parameter is filled with SnackBar widget.
SnackBar(content)
● The content parameter is filled with the string that is going to
be shown in the SnackBar.
Bina Nusantara Kemanggisan
Today we are going to
make...
Bina Nusantara Kemanggisan
Bina Nusantara Kemanggisan
Column(<Widget>[])
A widget that displays its children in a vertical position
Row(<Widget>[])
A widget that displays its children in horizontal position
Code used
Bina Nusantara Kemanggisan
InkWell(child, onTap)
A rectangular area that responds to touch
Code used
● Child parameter is filled with a widget (i.e Text widget).
● onTap is filled with a function that runs when InkWell is
tapped.
Definitions referenced from api.flutter.dev
Bina Nusantara Kemanggisan
Expanded(child)
Widget that expands a child of Row, Column, or Flex so the
child fills the available space. This widget must be a descendant
of a Row, Column, or Flex
● The child parameter is usually filled with a ListView.
Code used
Definitions referenced from api.flutter.dev
Bina Nusantara Kemanggisan
ListView.Builder(itemCount, itemBuilder(context, index))
Widget used to construct a list
Code used
● itemCount the length of list
● itemBuilder provide a context and index is the current index
of the list
Definitions referenced from api.flutter.dev
Bina Nusantara Kemanggisan
ListTile(title, subtitle, leading, trailing)
A single fixed-height row that typically contains some text as
well as a leading or trailing icon
Code used
● All the parameters receives widgets.
Definitions referenced from api.flutter.dev
Bina Nusantara Kemanggisan
Image.network(string, width, height)
To get images from a URL.
Code used
● The string parameter is filled with the URL of the image.
● The width parameter is filled with the desired width of the Image
widget.
● The height parameter is filled with the desired height of the
Image widget.
Bina Nusantara Kemanggisan
Navigator.of(context).pushReplacement(MaterialPageRoute)
To replace current context with new context with the help of
MaterialPageRoute.
Code used
● Context parameter requires the application context.
Bina Nusantara Kemanggisan
Future
Future is used to represent a potential value, or error, that will
be available at some time in the future.
Streams
Streams provide an asynchronous sequence of data.
Code used
Bina Nusantara Kemanggisan
Future vs Streams
● A stream is a combination of futures
● Future has only one response but Stream could have any
number of Response
Code used
Definitions referenced from dev.to/nitishk72
Bina Nusantara Kemanggisan
Firebase Auth in Firebase
createUserWithEmailAndPassword(email, password)
This function is used to register/sign up a user.
● The email parameter requires a parameter to be passed.
● The password parameter requires a parameter to be passed.
Code used
Definitions referenced from dev.to/nitishk72
Bina Nusantara Kemanggisan
Firebase Auth in Firebase
signInWithEmailAndPassword(email, password)
This function is used to authenticate the user.
● The email parameter requires a parameter to be passed.
● The password parameter requires a parameter to be passed.
Code used
Definitions referenced from dev.to/nitishk72
Bina Nusantara Kemanggisan
Link to Original Repo
Bina Nusantara Kemanggisan

More Related Content

PDF
Introduction to Java (and object-oriented programming)
PDF
Concepts of OOPs
PPTX
Basics of oops concept
PPTX
OOPS features using Objective C
PPT
Advanced OOP - Laws, Principles, Idioms
PPT
Oops ppt
PPT
Basic concepts of oops
PPTX
Advance oops concepts
Introduction to Java (and object-oriented programming)
Concepts of OOPs
Basics of oops concept
OOPS features using Objective C
Advanced OOP - Laws, Principles, Idioms
Oops ppt
Basic concepts of oops
Advance oops concepts

What's hot (20)

PDF
0-oop java-intro
PPTX
Basic Concepts of OOPs (Object Oriented Programming in Java)
PPT
Basic concepts of object oriented programming
PDF
Object Oriented Programming Concepts
ODP
Beginners Guide to Object Orientation in PHP
PPT
Object-Oriented Concepts
PDF
Java Programming Paradigms Chapter 1
PPT
Basic concept of OOP's
PPT
Java oops and fundamentals
PDF
Ravi Prakash,BCA,2nd Year
PPT
Object Oriented Programming In .Net
PDF
C++ [ principles of object oriented programming ]
PPTX
Object oriented programming
PPT
Object Oriented Concepts and Principles
PPTX
OOPS in Java
DOC
Object oriented programming
PPTX
Php oop presentation
PPTX
OOP Unit 2 - Classes and Object
PDF
Farhaan Ahmed, BCA 2nd Year
PPTX
Object Oriented Programming in Java _lecture 1
0-oop java-intro
Basic Concepts of OOPs (Object Oriented Programming in Java)
Basic concepts of object oriented programming
Object Oriented Programming Concepts
Beginners Guide to Object Orientation in PHP
Object-Oriented Concepts
Java Programming Paradigms Chapter 1
Basic concept of OOP's
Java oops and fundamentals
Ravi Prakash,BCA,2nd Year
Object Oriented Programming In .Net
C++ [ principles of object oriented programming ]
Object oriented programming
Object Oriented Concepts and Principles
OOPS in Java
Object oriented programming
Php oop presentation
OOP Unit 2 - Classes and Object
Farhaan Ahmed, BCA 2nd Year
Object Oriented Programming in Java _lecture 1
Ad

More from Agustinus Theodorus (6)

PDF
Introduction to HTML, CSS, and Javascript
PDF
DSC - Shared Preferences and Room
PDF
DSC - Recycle View, DiffUtil and many other things
PDF
DSC - Recycle View, DiffUtil and many other things (Slides)
PDF
Introduction to Android (With a UI/UX Case Study)
PDF
Git Workshop
Introduction to HTML, CSS, and Javascript
DSC - Shared Preferences and Room
DSC - Recycle View, DiffUtil and many other things
DSC - Recycle View, DiffUtil and many other things (Slides)
Introduction to Android (With a UI/UX Case Study)
Git Workshop
Ad

Recently uploaded (20)

PDF
Electronic commerce courselecture one. Pdf
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
cuic standard and advanced reporting.pdf
PDF
HCSP-Presales-Campus Network Planning and Design V1.0 Training Material-Witho...
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Transforming Manufacturing operations through Intelligent Integrations
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
PPTX
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
Electronic commerce courselecture one. Pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
The Rise and Fall of 3GPP – Time for a Sabbatical?
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Per capita expenditure prediction using model stacking based on satellite ima...
cuic standard and advanced reporting.pdf
HCSP-Presales-Campus Network Planning and Design V1.0 Training Material-Witho...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
“AI and Expert System Decision Support & Business Intelligence Systems”
Transforming Manufacturing operations through Intelligent Integrations
Chapter 3 Spatial Domain Image Processing.pdf
MYSQL Presentation for SQL database connectivity
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Understanding_Digital_Forensics_Presentation.pptx
NewMind AI Monthly Chronicles - July 2025
Advanced methodologies resolving dimensionality complications for autism neur...

Flutter Dev 2019