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
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Electronic commerce courselecture one. Pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
cuic standard and advanced reporting.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Machine learning based COVID-19 study performance prediction
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Big Data Technologies - Introduction.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
KodekX | Application Modernization Development
PPT
Teaching material agriculture food technology
PDF
Encapsulation theory and applications.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Electronic commerce courselecture one. Pdf
Empathic Computing: Creating Shared Understanding
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Agricultural_Statistics_at_a_Glance_2022_0.pdf
cuic standard and advanced reporting.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Network Security Unit 5.pdf for BCA BBA.
Machine learning based COVID-19 study performance prediction
Dropbox Q2 2025 Financial Results & Investor Presentation
Programs and apps: productivity, graphics, security and other tools
Advanced methodologies resolving dimensionality complications for autism neur...
“AI and Expert System Decision Support & Business Intelligence Systems”
Big Data Technologies - Introduction.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
KodekX | Application Modernization Development
Teaching material agriculture food technology
Encapsulation theory and applications.pdf
Building Integrated photovoltaic BIPV_UPV.pdf

Flutter Dev 2019