畫家
一個簡單的 Flutter 小部件,可使用手指進行繪畫
- 星標
- 134
- 分支
- 66
- 最近推送(UTC)
- 2024年2月1日
- 專案狀態
- 未封存
原始 README
以下為英文專案原文快照,最新內容請造訪 GitHub。
painter
A simple flutter widget to paint with your fingers.
Features
The widget supports:
- Changing fore- and background color
- Changing the thickness of lines you draw
- Exporting your painting as png
- Undo drawing a line
- Clearing the whole drawing
- Check if anything was drawn at all (using `PainterController.isEmpty')
- Erase Mode
Some Notes
- After calling 'finish()' on a PainterController you can't draw on this painting any more
- To create a new painting after finishing the old one simply create a new PainterController
- Calling 'finish()' for the first time will render the drawing. Successive calls will then return a cached version of the rendered picture
Example
For a full example take a look at the example project. Here is a short recording showing it. Note that the color picker is an external dependency which is only required for the example.

語言C++DartCMakeHTMLCKotlinSwiftObjective-C
分類
使用的依賴
依賴清單 1 項
- flutter
{"sdk":"flutter"}
如何選擇適合專案的儲存庫?
先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
- 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
- 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
- 使用前在 GitHub 確認 README、授權條款與 Issues。
來源與維護
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗