Chapter 5
Making Things Happen
IN THIS CHAPTER
What happens when you press buttons on a device's screen
The truth about widget states
How to remain anonymous
How to move variables from one place to another
Until now, you've only used Flutter to build static apps. A static app always does the same thing. Through building these static apps, you've learned about Flutter's programming strategies, constructors, functions, and other good stuff. But here in Chapter 5, you're going to learn to make more interesting apps. An app that always displays the same text is boring, and users will rate the app with zero stars. An interesting app interacts with the user. The app's screen changes when the user enters text, taps a button, moves a slider, or does something else to get a useful response from the app. Making things happen is essential for any kind of mobile app development. So, in this chapter, you begin learning how to make things happen.
Let's All Press a Floating Action Button
When you create a new Flutter project, Android Studio makes a main.dart file for you. The main.dart file ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access