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 ...
Get Coding All-in-One For Dummies, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.