Flutter for Beginners
An introductory guide to building cross-platform mobile applications with Flutter and Dart 2
Alessandro Biessek
BIRMINGHAM - MUMBAI
Flutter for Beginners
Copyright 2019 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
Commissioning Editor: Amarabha Banerjee
Acquisition Editor: Larissa Pinto
Content Development Editor: Akhil Nair
Technical Editor: Sachin Sunilkumar
Copy Editor: Safis Editing
Project Coordinator: Manthan Patel
Proofreader: Safis Editing
Indexer: Pratik Shirodkar
Production Designer: Jyoti Chauhan
First published: September 2019
Production reference: 2260220
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham
B3 2PB, UK.
ISBN 978-1-78899-608-2
www.packt.com
To my mother, Antonina, and my father, Euclides, for their sacrifices and for exemplifying the power of determination
Alessandro Biessek
mapt.io
Subscribe to our online digital library for full access to over 7,000 books and videos, as well
as industry leading tools to help you plan your personal development and advance your
career. For more information, please visit our website.
Why subscribe?
Spend less time learning and more time coding with practical eBooks and Videos from over 4,000 industry professionals
Improve your learning with Skill Plans built especially for you
Get a free eBook or video every month
Fully searchable for easy access to vital information
Copy and paste, print, and bookmark content
Packt.com
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.packt.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at customercare@packtpub.com for more details.
At www.packt.com , you can also read a collection of free technical articles, sign up for a range of free newsletters, and receive exclusive discounts and offers on Packt books and eBooks.
Contributors
About the author
AlessandroBiessek was born in the beautiful city of Chapec, in the state of Santa Catarina, southern Brazil, in 1993. He is currently working on mobile application development for Android and iOS in his hometown. He has more than 7 years of experience in development, from desktop development with Delphi to backend with PHP, Node.js, Golang, mobile development with Apache Flex, and Java/Kotlin. Most of his time is devoted to the development of Android apps. Always interested in new technologies, he has been following the Flutter framework for a long time, shown through its growth and adoption in recent months.
Firstly, thanks to the Flutter team for their incredible tool that is helping the developer community to help other people.
I am grateful to all of those with whom I have had the pleasure to work with during this project, all the reviewers, and the entire Packt team who helped me in this work.
Id like to thank my friends, coworkers and family, especially my mother Antonina, my father Euclides, my sister Hellen and my brother Alan, for being supportive and for holding the fort while I worked hard on the book. Also, thanks to my graduation teachers, who encouraged me to face challenges like this book in a more natural and brave way.
Finally, I'd like to thank you, the reader. Your support of books such as this, through your purchase, makes it possible for everyone who wants to share their experiences to continue.
About the reviewer
Ugurcan Yildirim is an enthusiast of Android and Flutter mobile application development frameworks. He graduated as valedictorian with a BSc degree in Computer Science from Bilkent University, Ankara. Since 2015, he has been working as an Android Engineer at Accenture Industry X.0, Istanbul. With Flutter's promising uptrend that started in 2018, he began to concern himself with the peculiarities of Flutter and experiment with them. Since then, he has contributed to the open source community of Flutter by writing articles on Medium (@ugurcany) and giving presentations. His latest contribution is to review this book, which he believes should be consulted and referenced by Flutter developers of any level.
I would like to thank Packt for giving me the opportunity to contribute to the ever-expanding Flutter universe by reviewing one of the first and most comprehensive Flutter books published. I would also like to thank my parents and my wife, Karsu, for their support and patience over the course of reviewing this book.
Packt is searching for authors like you
If you're interested in becoming an author for Packt, please visit authors.packtpub.com and apply today. We have worked with thousands of developers and tech professionals, just like you, to help them share their insight with the global tech community. You can make a general application, apply for a specific hot topic that we are recruiting an author for, or submit your own idea.
Preface
Flutter for Beginners helps you to enter the Flutter framework world and build awesome mobile applications. I'll take you from an introduction to the Dart language to an in-depth exploration of all the Flutter blocks needed to make a high-level app. Together, we will build a fully featured app. With clear code examples, you will learn how to start a small Flutter project, add some widgets, apply styles and themes, connect with remote services such as Firebase, get user input, add some animations to improve the user experience, and more. In addition, you will learn how to add advanced features, map integrations, work with platform-specific code with native programming languages, and create fantastic UIs with personalized animations. In short, this book will prepare you for the future of mobile development with this amazing framework.
Next page