搜索插件、代码仓与 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.

所属分类

源码仓库

使用此插件的项目

暂无相关数据。