Flutter in Action
Eric Windmill
  • MEAP began September 2018
  • Publication in Fall 2019 (estimated)
  • ISBN 9781617296147
  • 350 pages (estimated)
  • printed in black & white
In 2017, consumers downloaded 178 billion apps, and analysts predict growth to 258 billion by 2022. Mobile customers are demanding more—and better—apps, and it’s up to developers like you to write them! Flutter, a revolutionary new cross-platform software development kit created by Google, makes it easier than ever to write secure, high-performance native apps for iOS and Android. Flutter apps are blazingly fast because this open source solution compiles your Dart code to platform-specific programs with no JavaScript bridge! Flutter also supports hot reloading to update changes instantly. And thanks to its built-in widgets and rich motion APIs, Flutter’s apps are not just highly responsive, they’re stunning!
Table of Contents detailed table of contents

Part 1: Meet Flutter

1. Meet Flutter

1.1. On Dart

1.2. Why Does Flutter Use Dart?

1.3. Who Uses Flutter?

1.3.1. Teams, Project Leads, and CTOs

1.3.2. Individual Developers

1.3.3. Code School Students and Recent CS Grads

1.3.4. Open Source Developers

1.3.5. People Who Value Speed

1.3.6. People Who Are Lazy

1.3.7. People Who Value Control

1.4. Who is This Book For?

1.5. Other Mobile Development Options

1.5.1. Native Development (iOS and Android)

1.5.2. Cross-Platform JavaScript Options

1.6. The Immediate Benefits of Flutter

1.6.1. No JavaScript Bridge

1.6.2. Compile Time

1.6.3. Write Once, Test Once, Deploy Everywhere

1.6.4. Code Sharing

1.6.5. Productivity and Collaboration

1.6.6. Code Maintenance

1.6.7. The Bottom Line: Is Flutter for You?

1.7. A Brief Intro into How Flutter Works

1.7.1. Everything is A Widget

1.7.2. Composing UI with Widgets

1.7.3. Widget Types

1.7.4. Flutter Rendering

1.8. Final Note

1.9. Summary

2. A Brief Intro to Dart

2.1. Hello, Dart!

2.1.1. Anatomy of a Dart Program

2.2. Programming a Greeter: Hello, _!

2.2.1. Add more greetings

2.2.2. I/O and Dart Libraries

2.3. Common Programming Concepts In Dart

2.3.1. Intro to Dart’s Type System

2.3.2. Comments

2.3.3. Variables and Assignment

2.3.4. Operators

2.3.5. Null Aware Operators

2.4. Control Flow

2.4.1. if and else

2.4.2. switch and case

2.4.3. Loops

2.5. Functions

2.5.1. Anatomy of a Dart Function

2.5.2. Parameters

2.5.3. Default parameter values

2.5.4. Advanced Function Concepts

2.5.5. Lexical Scope

2.6. Summary

3. Object Oriented Dart

3.1. Setting up a simple web application

3.1.1. Pub package manager

3.1.2. Hosted Packages and Versioning with Pub

3.1.3. Running a web project

3.2. Creating Classes in Dart

3.2.1. The Transaction class

3.2.2. Banana class

3.3. Stitching classes together to make an application

3.3.1. Starting the implementation

3.3.2. Implementing App class interface Constructor

3.3.3. Putting it All Together

3.3.4. Ready to move on?

3.4. Summary

4. Meet Flutter

4.1. Intro to the counter app

4.1.1. Flutter project structure

4.1.2. Anatomy of a Flutter App

4.1.3. Everything is a Widget

4.1.4. build

4.1.5. new and const constructors in Flutter

4.1.6. Hot Reload

4.2. Widgets: The Widget Tree, Stateful, Stateless, and the State object

4.2.1. Stateless Widget

4.2.2. Stateful Widget

4.3. Widget Life cycles, setState, BuildContext

4.3.1. setState

4.3.2. Widget life cycle

4.3.3. BuildContext

4.4. Enhancing the Counter app with the most important widgets

4.4.1. Raised Button

4.5. Intro to Layout in Flutter

4.5.1. Row and Column

4.5.2. Layout Constraints in Flutter

4.5.3. Visual Flutter Widgets: Icons, Images and Decorations

4.5.4. Icons

4.5.5. Images

4.5.6. Container Widget

4.6. Summary

Part 2: Weather App - UI and Animations

5. UI: Important Widgets, Styling, and Routing

5.1. Weather app boiler plate

5.1.1. SystemChrome

5.1.2. MaterialApp widget

5.2. Structural Widgets

5.2.1. Scaffold

5.2.2. AppBar and PreferredSizeWidget

5.3. Styling in Flutter

5.3.1. Theme

5.3.2. MediaQuery and the of method

5.3.3. ScreenAwareSize method

5.4. Common Layout and UI widgets

5.4.1. Stack

5.4.2. Table

5.4.3. TabBar

5.5. Intro to Routing

5.6. ListView and Builders

5.7. Summary

6. Pushing Pixels: Flutter Animations and using the Canvas

Part 3: E-commerce App - State Management and Async Dart

7. . Flutter Routing Part 2

8. Flutter State Management

9. Handling User Input

10. AsyncBuilders and Scrolling

Part 4: Beyond Flutter - Firestore, a WebApp, and Performance

11. Dependency Injection: Sharing Code between Flutter and Web

12. Newest Things in Flutter

13. Performance, Profiling, and Testing

Appendixes

Appendix A: Installation and Tools

A.1. Installation: Dart2

A.1.1. Mac OS

A.1.2. Windows

A.1.3. Linux

A.2. Installation: Flutter SDK

A.2.1. Mac OS

A.2.2. Windows

A.2.3. Linux

Appendix B: Required Tools

Appendix C: Flutter for Web Developers

Appendix D: Flutter for iOS Developers

Appendix E: Flutter for Android Developers

Appendix F: Plugins

About the book

Flutter in Action teaches you to build awesome, full-featured mobile applications with Flutter. Author Eric Windmill walks with you every step of the way as you build apps that get you coding as you learn. With the engaging hands-on examples, you’ll create a basic user interface, learn about state management, and integrate a database with a Dart web app. You’ll also delve into widgets, styling with themes, animations, handling user input, and more. As a bonus, you’ll gain experience coding in Google’s instantly familiar Dart programming language, which has features sure to boost your productivity. Programmers familiar with any high-level language will feel right at home with Dart. If you want to build beautiful, fast, cross-platform mobile apps, you need this easy-to-follow tutorial! And with Eric Windmill’s informal, friendly style, learning Flutter is as much fun as writing the apps!

What's inside

  • Understanding the basic Flutter UI
  • Working with widgets
  • Building layouts in Flutter
  • State management
  • Handling user input
  • Integrating platform-specific functionality for iOS and Android
  • Sharing code between Flutter and the web
  • Built-in and custom animations
  • Testing and debugging

About the reader

For developers familiar with the basics of programming web applications. No experience with Dart or Flutter needed!

About the author

Eric Windmill is a professional Dart developer, a contributor to open-source Flutter projects, and the author of FlutterByExample.com. His work is featured on Flutter’s own showcase page, https://flutter.io/showcase.

Manning Early Access Program (MEAP) Read chapters as they are written, get the finished eBook as soon as it’s ready, and receive the pBook long before it's in bookstores.
MEAP combo $49.99 pBook + eBook + liveBook
MEAP eBook $39.99 pdf + ePub + kindle + liveBook

placing your order...

Don't refresh or navigate away from the page.

FREE domestic shipping on three or more pBooks