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

套件詳情v4.0.1

self_storing_input

一組自動將輸入值儲存和載入至資料儲存的輸入元件。

近 30 天下載
17
喜歡數
12
Pub 分數
70

安裝套件

flutter pub add self_storing_input

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

一個 Flutter 套件,提供可自動將使用者輸入值儲存至資料儲存的輸入元件,確保資料在應用程式會話之間被儲存與還原。專為表單設計,透過內部處理儲存邏輯來減少重複程式碼。這些元件可無縫整合至現有的表單工作流程中,支援常見的輸入類型,如文字欄位和核取方塊。由 Google 所開發,強調可靠性與開發人員的簡便性。適用於需要持久化表單狀態但無需手動儲存/載入邏輯的應用。

適用情境

  • 持久化表單輸入
  • 用戶偏好保存
  • 離線資料輸入
  • 應用重啟後自動恢復
  • 減少表單提交錯誤
  • 簡化表單中的狀態管理

主要特色

  • 自動資料持久化
  • 內建儲存整合
  • 無縫表單狀態恢復
  • 最少的樣板程式碼
  • 支援多種輸入類型
  • 與現有表單的輕鬆整合

適合對象

  • 使用持久狀態建構表單的開發人員
  • 需要離線資料保留的應用程式
  • 重視開發人員生產力的團隊
  • 使用最小狀態管理的專案
  • 具有使用者偏好設定的 Flutter 應用程式
  • 需要快速資料持久化的原型

使用建議

  • 需要相容的資料儲存
  • 儲存行為的自訂有限
  • 依賴於谷歌的實現
  • 可能不適合複雜的資料模型
  • 無內建加密
  • 平台無關的儲存無法保證

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Build

Flutter widgets

This repository contains the source code for various Flutter widgets that are developed by Google but not by the core Flutter team.

The product and source code here are neither endorsed by Google nor the Flutter team. They are mainly made available as a reference. Support is best-effort.

Packages

Package Description Version
flutter_simple_treeview A widget, that visualises a tree structure, where a node can be any widget. pub package
linked_scroll_controller A scroll controller that allows two or more scroll views to be in sync. pub package
scrollable_positioned_list A list with helper methods to programmatically scroll to an item. pub package
self_storing_input A set of input widgets that automatically save and load the entered value to a data store. pub package
visibility_detector A widget that detects the visibility of its child and notifies a callback. pub package

Issues

Please file any issues, bugs, or feature requests in the this repo.

Contributing

If you wish to contribute a change to any of the existing widgets in this repo, please review our contribution guide, and send a pull request.

所屬分類

原始碼儲存庫

使用此套件的專案

暫無相關資料。