Flutter for Beginners

Flutter for Beginners

An introductory guide to building cross-platform mobile applications with Flutter and Dart 2

暂无评价综合评分的显示会考虑用户真实性等多项因素,每部作品出现综合评分的时间不定。

作品简介

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.

Alessandro Biessek 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, evidencing its growth and adoption in recent months.

作品目录

  1. Copyright and Credits
  2. Dedication
  3. About Packt
  4. Contributors
  5. About the author
  6. About the reviewer
  7. Packt is searching for authors like you
  8. Preface
  9. Who this book is for
  10. What this book covers
  11. To get the most out of this book
  12. Get in touch
  13. Section 1: Introduction to Dart
  14. An Introduction to Dart
  15. Getting started with Dart
  16. Understanding why Flutter uses Dart
  17. Introducing the structure of the Dart language
  18. Introduction to OOP in Dart
  19. Summary
  20. Further reading
  21. Intermediate Dart Programming
  22. Dart classes and constructors
  23. Interfaces, abstract classes, and mixins
  24. Understanding Dart libraries and packages
  25. Introducing async programming with Futures and Isolates
  26. Introducing unit testing with Dart
  27. Summary
  28. An Introduction to Flutter
  29. Comparisons with other mobile app development frameworks
  30. Flutter compilation (Dart)
  31. Flutter rendering
  32. Widgets introduction
  33. Hello Flutter
  34. Summary
  35. Section 2: The Flutter User Interface - Everything is a Widget
  36. Widgets: Building Layouts in Flutter
  37. Stateful versus stateless widgets
  38. Built-in widgets
  39. Understanding built-in layout widgets
  40. Creating a UI with widgets (favor manager app)
  41. Creating custom widgets
  42. Summary
  43. Handling User Input and Gestures
  44. Handling user gestures
  45. Input widgets
  46. Validating Input (Forms)
  47. Custom input and FormField
  48. Putting it all together
  49. Summary
  50. Theming and Styling
  51. Theme widgets
  52. Material Design
  53. iOS Cupertino
  54. Using custom fonts
  55. Dynamic styling with MediaQuery and LayoutBuilder
  56. Summary
  57. Routing: Navigating between Screens
  58. Understanding the Navigator widget
  59. Named routes
  60. Screen transitions
  61. Hero animations
  62. Summary
  63. Section 3: Developing Fully Featured Apps
  64. Firebase Plugins
  65. Firebase overview
  66. Firebase authentication 
  67. NoSQL database with Cloud Firestore
  68. Cloud Storage with Firebase Storage
  69. Ads with Firebase AdMob
  70. ML with Firebase ML Kit
  71. Summary
  72. Developing Your Own Flutter Plugin
  73. Creating a package/plugin project
  74. A plugin project structure
  75. Adding documentation to the package
  76. Publishing a package
  77. Plugin project development recommendations
  78. Summary
  79. Accessing Device Features from the Flutter App
  80. Launching a URL from the app
  81. Managing app permissions
  82. Importing a contact from the phone
  83. Integrating the phone's camera
  84. Summary
  85. Platform Views and Map Integration
  86. Displaying a map
  87. Adding markers to the map
  88. Adding map interactions
  89. Using the Google Places API
  90. Summary
  91. Section 4: Advanced Flutter - Resources to Complex Apps
  92. Testing, Debugging, and Deployment
  93. Flutter testing – unit and widget testing
  94. Debugging Flutter apps
  95. Profiling Flutter apps
  96. Inspecting the Flutter widget tree
  97. Preparing apps for deployment
  98. Summary
  99. Improving User Experience
  100. Accessibility in Flutter and adding translations to apps
  101. Communication between native and Flutter with platform channels
  102. Creating background processes
  103. Adding Android-specific code to run Dart code in the background
  104. Adding iOS-specific code to run Dart code in the background
  105. Summary
  106. Widget Graphic Manipulations
  107. Transforming widgets with the Transform class
  108. Exploring the types of transformations
  109. Applying transformations to your widgets
  110. Using custom painters and canvas
  111. Summary
  112. Animations
  113. Introducing Animations
  114. Using animations
  115. Using AnimatedBuilder
  116. Using AnimatedWidget
  117. Summary
  118. Other Books You May Enjoy
  119. Leave a review - let other readers know what you think