Flutter and Dart Fundamentals: Build Cross-Platform Mobile Apps, Step by Step
暫譯: Flutter 與 Dart 基礎:循序漸進打造跨平台行動應用程式
Abu Al-Maati, Shereef
相關主題
商品描述
Google's Flutter is one of today's fastest-growing frameworks for cross-platform mobile development, but most resources leave beginners overwhelmed. This book is a comprehensive, classroom-tested guide that teaches students and self-learners to master Flutter, starting from the Dart language and progressing to complete mobile applications.
Unlike the fragmented tutorials scattered across the web, this book follows a single, coherent path that has been refined over two semesters of teaching undergraduates. It takes a deliberate Dart-first approach: Readers build a real command of the language, including variables, control flow, functions, collections, object-oriented programming, and null safety, before writing a single line of Flutter. That foundation is what separates developers who can only copy code from those who can reason about it and build apps that hold up. From there, the chapters move through Flutter's widget system, responsive layouts, state management, navigation, user input, dynamic lists, asynchronous programming, and integration with live data and JSON APIs. Every Flutter chapter has readers building a running app around a single concept, reinforced with hands-on exercises, and the final chapters culminate in several complete applications, from a full task manager to apps that pull real data from the web, which readers can add to their portfolio. Organized into 27 short, focused chapters that each tackle just one or two ideas, the book works equally well for self-study and as an adoption-ready text for a semester-long course or bootcamp. By the end of the book, readers will have moved from knowing some code to building and shipping real cross-platform apps for Android, iOS, web, and desktop, with the confidence to keep building on their own.What You Will Learn:
- Start with the Dart language itself: values and types, control flow, lists, functions, and object-oriented programming Move into Flutter: widgets, layout, images, user interaction, state, lists, dialogs, and navigation Bring it all together in complete applications, including a to-do list and a full task manager with add, delete, and detail views Master the skills real apps depend on: asynchronous programming, fetching live data from web APIs with JSON, and saving data locally so it survives an app restart Build hands-on projects along the way, including a command-line calculator, a number guessing game, a student grade tracker, and more
Who This Book Is For:
The beginner who knows some code: university students, bootcamp attendees, and self-taught developers who have basic programming knowledge and want to build real mobile apps. Experience with Dart or Flutter is not required as the book moves step by step with one concept at a time through Dart's essentials and into Flutter. Instructors will appreciate the modular design that maps cleanly onto a semester or bootcamp format, and chapters that stand alone or can be adapted to different course paces.
商品描述(中文翻譯)
Google 的 Flutter 是目前成長最快的跨平台行動開發框架之一,但大多數學習資源往往讓初學者感到不知所措。本書是一部經過課堂實測的完整指南,從 Dart 語言開始,逐步帶領學生與自學者掌握 Flutter,直到能夠開發完整的行動應用程式。
不同於散落在網路上的零碎教學,本書遵循一條連貫一致的學習路徑,內容經過兩個學期的大學部教學反覆調整與改良。本書刻意採用以 Dart 為先的學習方式:讀者會先真正熟悉這門語言,包括變數、控制流程、函式、集合、物件導向程式設計與 null safety,之後才開始撰寫第一行 Flutter 程式碼。這項基礎正是只能複製程式碼的開發者,與能夠理解程式碼、推理其運作方式,並打造可靠應用程式的開發者之間的差異。
接下來,各章將依序介紹 Flutter 的 widget 系統、響應式版面配置、狀態管理、導覽、使用者輸入、動態清單、非同步程式設計,以及與即時資料和 JSON API 的整合。每一章 Flutter 內容都會讓讀者圍繞單一概念建立一個可執行的應用程式,並透過實作練習加以強化。最後幾章則會完成數個完整應用程式,從功能完整的工作管理工具,到能從網路取得真實資料的應用程式;讀者還可以將這些作品加入自己的作品集。
本書分為 27 個簡短而聚焦的章節,每章只處理一至兩個概念,因此非常適合自學,也能直接作為一學期課程或訓練營的教材。讀完本書後,讀者將從只懂一些程式碼,進步到能夠建置並發布真正的跨平台應用程式,支援 Android、iOS、web 與 desktop,並有信心繼續獨立開發。
你將學到的內容:
- 從 Dart 語言本身開始:值與型別、控制流程、清單、函式,以及物件導向程式設計
- 進入 Flutter:widget、版面配置、圖片、使用者互動、狀態、清單、對話框與導覽
- 將所學整合至完整應用程式,包括待辦事項清單,以及具備新增、刪除和詳細資訊檢視功能的完整工作管理工具
- 掌握實際應用程式所依賴的技能:非同步程式設計、透過 JSON 從 web API 擷取即時資料,以及將資料儲存在本機,讓資料在應用程式重新啟動後仍能保留
- 逐步完成實作專案,包括命令列計算機、猜數字遊戲、學生成績追蹤工具等
本書適合哪些讀者:
懂一些程式設計基礎的初學者,包括大學生、訓練營學員,以及希望建置真正行動應用程式的自學開發者。本書不要求讀者具備 Dart 或 Flutter 經驗,內容會以循序漸進的方式,一次介紹一個概念,從 Dart 的核心基礎開始,逐步進入 Flutter。教師會喜歡本書的模組化設計:內容可以輕鬆對應一學期課程或訓練營,也能讓各章獨立使用,或依照不同的課程進度進行調整。
作者簡介
Dr. Shereef Abu Al-Maati is an Associate Professor of Computer Science at the American University of Kuwait (AUK), an institution partnered with Dartmouth College. One of AUK's founding faculty members, he has spent more than 20 years turning beginning programmers into confident developers. The clear, step-by-step approach in this book was refined in his own classrooms, where he teaches mobile development with Flutter and Dart.
Dr. Abu Al-Maati's teaching is backed by substantial industry experience. At the Kuwait Institute for Scientific Research, he worked alongside international partners, including IBM, Martin Marietta Data Systems, and the US Navy, to build mission-critical software that automated the operational readiness of the Kuwait Air Force. As an independent consultant, he designed and developed one of the first web-based asset portfolio management systems for the Kuwait Stock Exchange.
At AUK, Dr. Abu Al-Maati served as founding Division Head of Sciences & Engineering and later as Department Chair of Computer Science & Information Systems, where he substantially modernized the curricula to keep them current and industry-relevant. He was also a founding board member of Kuwait's National Bureau for Academic Accreditation and Quality Assurance, the government agency for the Ministry of Higher Education, and co-authored a chapter in the Springer book, Machine Learning for Real World Applications. With this book on Flutter and Dart fundamentals, he brings that same classroom-tested approach to readers everywhere, guiding them step by step from their first line of Dart to complete cross-platform apps.
作者簡介(中文翻譯)
Shereef Abu Al-Maati 博士是 American University of Kuwait(AUK)的電腦科學副教授;AUK 是與 Dartmouth College 合作的教育機構。身為 AUK 的創校教職員之一,他投入超過 20 年的時間,將程式設計初學者培養成充滿信心的開發人員。本書清晰、循序漸進的教學方法,源自他在課堂上的實際教學經驗;他目前使用 Flutter 與 Dart 教授行動應用程式開發。
Abu Al-Maati 博士的教學經驗也建立在豐富的業界實務背景之上。他曾任職於 Kuwait Institute for Scientific Research,與 IBM、Martin Marietta Data Systems 及 US Navy 等國際合作夥伴並肩工作,建置任務關鍵型軟體,將 Kuwait Air Force 的作業整備流程自動化。身為獨立顧問,他設計並開發了 Kuwait Stock Exchange 最早期的網頁型資產投資組合管理系統之一。
在 AUK 任職期間,Abu Al-Maati 博士曾擔任 Sciences & Engineering Division 的創系主任,之後又擔任 Computer Science & Information Systems Department 主任;在任內,他大幅更新課程內容,使其與時俱進並符合業界需求。他也是 Kuwait's National Bureau for Academic Accreditation and Quality Assurance 的創始董事會成員之一。該機構是隸屬於 Ministry of Higher Education 的政府機關。此外,他也曾為 Springer 出版的《Machine Learning for Real World Applications》共同撰寫其中一章。透過這本介紹 Flutter 與 Dart 基礎的書籍,他將同樣經過課堂驗證的教學方法帶給世界各地的讀者,逐步引導讀者從撰寫第一行 Dart 程式碼開始,完成跨平台應用程式。