Session #03
Ishita Satpathy
@firstnamelastname
Handling State and Data
Handling State and Data
Topics we will be Covering
● State
●Stateless vs Stateful Widgets
●Navigation
State
The state is information that can read simultaneously when
the widget is built and might change during runtime, in short,
we can say that the State defines the current properties of
the Widget.
According to state, widgets are divided into:
●Stateless widget
●Stateful widget
Stateless Widget
● They are static widgets; they are updated only
when initialized.
●It is not dependent on data changes or
behavior changes
●Examples are Text, Icons, or a RaisedButton.
Stateful Widget
● They are dynamic in nature.
●It is dependent on changes when user
interacts.
●Examples are Checkbox, Radio Button,
Slider.
• Routes- In flutter terminology screen or pages are referred to as
Routes.
• By making use of routes we navigate between pages.
• To navigate between two or more routes we make use of Navigator.
The basic steps now to follow are:
● Create two screens
● Define routes
● Navigate between them using:
● Navigator.pushNamed(): To move to second screen.
● Navigator.pop(): To move to previous screen.
Navigation
Question And Answer

More Related Content

PPTX
Flutter-Festivals Day-2.pptx
PPTX
Dart and Flutter Basics.pptx
PDF
Jetpack Compose untuk UI Masa Depan Bagian 2 - Sidiq Permana
PPTX
Mobile Application Development class 006
PPTX
FlutterArchitecture FlutterArchitecture.ppt
PPTX
FlutterArchitecture FlutterDevelopement (1).pptx
PDF
react redux.pdf
PDF
Unity3D Scripting: State Machine
Flutter-Festivals Day-2.pptx
Dart and Flutter Basics.pptx
Jetpack Compose untuk UI Masa Depan Bagian 2 - Sidiq Permana
Mobile Application Development class 006
FlutterArchitecture FlutterArchitecture.ppt
FlutterArchitecture FlutterDevelopement (1).pptx
react redux.pdf
Unity3D Scripting: State Machine

Similar to Flutter-Festivals Day-3.pptx (20)

PPTX
Win8 development lessons learned jayway
PPTX
Mobile Application Development class 003
PPTX
SWING USING JAVA WITH VARIOUS COMPONENTS
PPTX
Slide_Egg-88401-Internet Of Things Presentation Slides.pptx
PPTX
Exercise no: 6 java script fundamentals.pptx
PPTX
Application Developmet lecture for backend
ODP
Web dynpro
PPTX
Advanced Java GUI Programming_ AWT, Swing, and Event Handling_AI PPT Maker.pptx
PPTX
Windows Phone 8 - 3 Building WP8 Applications
PPT
Unit 3(advanced state modeling & interaction meodelling)
PDF
Introduction to ARIA
PPT
Hello Android
PPTX
Creating Rich, Dynamic User Interfaces with Silverlight 2
PPTX
Google Associate Android Developer Certification
PPTX
Best Website Designing Company in Amritsar for Mobile-Responsive Sites
PDF
The battle between the states (all about flutter stateless & stateful widgets...
PDF
Suncoast Credit Union and Armwood High School - UiPath automation developer s...
PPTX
Trio base overview
PPTX
App_development44444444444444444444.pptx
PDF
Reduxing UI: Borrowing the Best of Web to Make Android Better
Win8 development lessons learned jayway
Mobile Application Development class 003
SWING USING JAVA WITH VARIOUS COMPONENTS
Slide_Egg-88401-Internet Of Things Presentation Slides.pptx
Exercise no: 6 java script fundamentals.pptx
Application Developmet lecture for backend
Web dynpro
Advanced Java GUI Programming_ AWT, Swing, and Event Handling_AI PPT Maker.pptx
Windows Phone 8 - 3 Building WP8 Applications
Unit 3(advanced state modeling & interaction meodelling)
Introduction to ARIA
Hello Android
Creating Rich, Dynamic User Interfaces with Silverlight 2
Google Associate Android Developer Certification
Best Website Designing Company in Amritsar for Mobile-Responsive Sites
The battle between the states (all about flutter stateless & stateful widgets...
Suncoast Credit Union and Armwood High School - UiPath automation developer s...
Trio base overview
App_development44444444444444444444.pptx
Reduxing UI: Borrowing the Best of Web to Make Android Better
Ad

More from DSCVSSUT (7)

PPTX
Flutter-Festivals Day-4.pptx
PPTX
Google Developer Student Clubs 2022 Solution Challenge
PPTX
Android Study Jam Session 2
PPTX
Android Study Jam Session 1
PPTX
Android Study Jam - Info Session
PPTX
Workshop on Git and GitHub
PPTX
Repertoire of contributions hacktoberfest
Flutter-Festivals Day-4.pptx
Google Developer Student Clubs 2022 Solution Challenge
Android Study Jam Session 2
Android Study Jam Session 1
Android Study Jam - Info Session
Workshop on Git and GitHub
Repertoire of contributions hacktoberfest
Ad

Recently uploaded (20)

PDF
Skin Care and Cosmetic Ingredients Dictionary ( PDFDrive ).pdf
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
PDF
Uderstanding digital marketing and marketing stratergie for engaging the digi...
DOCX
Cambridge-Practice-Tests-for-IELTS-12.docx
PPTX
Module on health assessment of CHN. pptx
PDF
Empowerment Technology for Senior High School Guide
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
PDF
LIFE & LIVING TRILOGY- PART (1) WHO ARE WE.pdf
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PDF
Hazard Identification & Risk Assessment .pdf
PDF
Complications of Minimal Access-Surgery.pdf
PDF
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
PDF
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
Mucosal Drug Delivery system_NDDS_BPHARMACY__SEM VII_PCI.pdf
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
PDF
LIFE & LIVING TRILOGY - PART (3) REALITY & MYSTERY.pdf
PPTX
Computer Architecture Input Output Memory.pptx
PDF
LEARNERS WITH ADDITIONAL NEEDS ProfEd Topic
Skin Care and Cosmetic Ingredients Dictionary ( PDFDrive ).pdf
FORM 1 BIOLOGY MIND MAPS and their schemes
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
Uderstanding digital marketing and marketing stratergie for engaging the digi...
Cambridge-Practice-Tests-for-IELTS-12.docx
Module on health assessment of CHN. pptx
Empowerment Technology for Senior High School Guide
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
LIFE & LIVING TRILOGY- PART (1) WHO ARE WE.pdf
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
Hazard Identification & Risk Assessment .pdf
Complications of Minimal Access-Surgery.pdf
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
What if we spent less time fighting change, and more time building what’s rig...
Mucosal Drug Delivery system_NDDS_BPHARMACY__SEM VII_PCI.pdf
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
LIFE & LIVING TRILOGY - PART (3) REALITY & MYSTERY.pdf
Computer Architecture Input Output Memory.pptx
LEARNERS WITH ADDITIONAL NEEDS ProfEd Topic

Flutter-Festivals Day-3.pptx

  • 2. Handling State and Data Topics we will be Covering ● State ●Stateless vs Stateful Widgets ●Navigation
  • 3. State The state is information that can read simultaneously when the widget is built and might change during runtime, in short, we can say that the State defines the current properties of the Widget. According to state, widgets are divided into: ●Stateless widget ●Stateful widget
  • 4. Stateless Widget ● They are static widgets; they are updated only when initialized. ●It is not dependent on data changes or behavior changes ●Examples are Text, Icons, or a RaisedButton.
  • 5. Stateful Widget ● They are dynamic in nature. ●It is dependent on changes when user interacts. ●Examples are Checkbox, Radio Button, Slider.
  • 6. • Routes- In flutter terminology screen or pages are referred to as Routes. • By making use of routes we navigate between pages. • To navigate between two or more routes we make use of Navigator. The basic steps now to follow are: ● Create two screens ● Define routes ● Navigate between them using: ● Navigator.pushNamed(): To move to second screen. ● Navigator.pop(): To move to previous screen. Navigation