搜尋套件、儲存庫與 APP 分類

GitHub 儲存庫funwithflutter/google-docs-clone-flutter

google-docs-clone-flutter

使用 Flutter 和 Appwrite 的 Google Docs 克隆版本

google-docs-clone-flutter 專案封面
星標
135
分支
27
最近推送(UTC)
2022年10月21日
專案狀態
未封存

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

Google-Docs Like Clone With Flutter Web and Appwrite

This project is a demo application showing how to create a rich text editing experience, similar to Google Docs, using Flutter, Appwrite, and Flutter-Quill. This is meant to serve as a demo on how to use these tools. Please see the video tutorial for a step-by-step walkthrough. Beginner friendly 😎

Realtime Changes - Collaboration

Collaborate with other users on the same document in real-time.

Realtime changes demos

Create and Open Documents

Easily create and re-open documents. Everything is saved to your Appwrite database.

Create a new document demo

Authentication - Sign-in and Create New Accounts

Easy authentication using Appwrite.

Registration demo

Packages

Packages used in this project.

built with appwrite logo
Backend: Appwrite

Appwrite is an open-source alternative to Firebase and makes it possible to easily integrate authentication and add a backend database for your application. Appwrite also makes it possible to add real-time listeners to your database quickly.

Appwrite sponsored this project and tutorial

Rich Text Editor: Flutter-Quill

FlutterQuill is a rich text editor and a Quill component for Flutter. This package makes it easy to sync incremental changes to other editors (real-time changes).

Honorable Mentions: SuperEditor

State Management: Riverpod

Riverpod is an excellent choice for a state management solution in your Flutter application, and this tutorial demonstrates multiple scenarios where Riverpod truly shines. If you've not used it before, this project may change your mind. The video tutorial highlights numerous excellent features and demos how to structure and organize your providers.

Routing: Routemaster

Routemaster simplifies the complexity of Flutter's 2.0 Navigator. This project creates two separate route maps:

  • Authenticated routes
  • Not authenticated routes

Riverpod, and the authentication state from Appwrite, determine which routes to allow.

Other Packages

Equatable: A Dart package that helps implement value-based equality without needing to explicitly override == and hashCode.

  • UUID: Simple, fast generation of RFC4122 UUIDs.
  • Logging: Provides APIs for debugging and error logging.

Tutorial

The project is split into multiple sections to make the tutorial easy to follow.

Video Tutorial

For a complete step-by-step guide, see: https://youtu.be/0_GJ1w_iG44

Tutorial Sections

For the most up-to-date code: see the master branch.

The tutorial sections are extracted as dedicated branches on Github, meaning you can easily follow along and always have the latest code before starting new sections.

  1. Intro: video
  2. Base: branch and video
  3. Setup Riverpod: branch and video
  4. Setup Routemaster: branch and video
  5. Appwrite Setup: branch and video
  6. Create Authentication Repository: branch and video
  7. Create Auth State Service: branch and video
  8. Create Login and Register Page: branch and video
  9. Add Logged in Routes: branch and video
  10. Add Document UI and State: branch and video
  11. Create Documents: branch and video
  12. Update and Save Documents: branch and video
  13. Add Realtime Changes: branch and video
  14. List All Documents: branch and video
  15. What's Next?: video
Gordon Hayes GitHub avatar
GitHub 作者

Gordon Hayes ↗

語言DartHTML

依賴 Flutter 元件

使用的依賴

依賴清單 11 項

App 分類

如何選擇適合專案的儲存庫?

先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。

  1. 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
  2. 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
  3. 使用前在 GitHub 確認 README、授權條款與 Issues。

來源與維護

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗