Book Image

Flutter for Beginners

By : Alessandro Biessek
Book Image

Flutter for Beginners

By: Alessandro Biessek

Overview of this book

Google Flutter is a cross-platform mobile framework that makes it easy to write high-performance apps for Android and iOS. This book will help you get to grips with the basics of the Flutter framework and the Dart programming language. Starting from setting up your development environment, you’ll learn to design the UI and add user input functions. You'll explore the navigator widget to manage app routes and learn to add transitions between screens. The book will even guide you through developing your own plugin and later, you’ll discover how to structure good plugin code. Using the Google Places API, you'll also understand how to display a map in the app and add markers and interactions to it. You’ll then learn to improve the user experience with features such as map integrations, platform-specific code with native languages, and personalized animation options for designing intuitive UIs. The book follows a practical approach and gives you access to all relevant code files hosted at github.com/PacktPublishing/Flutter-for-Beginners. This will help you access a variety of examples and prepare your own bug-free apps, ready to deploy on the App Store and Google Play Store. By the end of this book, you’ll be well-versed with Dart programming and have the skills to develop your own mobile apps or build a career as a Dart and Flutter app developer.
Table of Contents (21 chapters)
Free Chapter
1
Section 1: Introduction to Dart
5
Section 2: The Flutter User Interface - Everything is a Widget
10
Section 3: Developing Fully Featured Apps
15
Section 4: Advanced Flutter - Resources to Complex Apps

Summary

Customizing apps, in terms of styles, is fundamental for creating a unique experience for the user and achieving the app's goals. Knowing the Flutter framework classes that help on this task is crucial to the development of any app, including our Favors app.

In this chapter, we have seen some ways to change the style of our applications. By using the Theme and ThemeData widgets we can specify styles that will change all the widgets below them in the tree. Also, by using the available app classes, MaterialApp and CupertinoApp, we can change the style of the whole application in a simple way.

We have seen how to add a custom font family to our application so that we can change the default look of our texts and labels. Lastly, we have seen that it's possible to change how our app looks in different sizes or orientations by using the MediaQuery and LayoutBuilder...