© Fu Cheng 2019
F. ChengFlutter Recipeshttps://doi.org/10.1007/978-1-4842-4982-6_4

4. Widget Basics

Fu Cheng1 
(1)
Sandringham, Auckland, New Zealand
 

When building Flutter apps, most of the time you are dealing with widgets. This chapter provides basic background information about widgets in Flutter. It also covers several basic widgets that display texts, images, icons, buttons, and placeholders.

4.1 Understanding Widgets

Problem

You want to know how to use components in Flutter.

Solution

Widgets are everywhere in Flutter.

Discussion

If you have been involved in development of user interface, you should be familiar with concepts like widgets or components. These concepts represent reusable building blocks to create user interface. A good user interface ...

Get Flutter Recipes: Mobile Development Solutions for iOS and Android 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.