FLUTTER ECOSYSTEM

resizable_widget

允许用户通过拖动来调整内部小部件的大小。此包包含简单的 API,但如需自定义,您也可以灵活地定制 ResizableWidget。

resizable_widget 封面
最新版本
1.0.5
近 30 天下载
39.1万
喜欢数
187
Pub 分数
160

Package Overview

基于插件公开资料生成的选型评价,仅供参考。

插件概览

resizable_widget 包允许用户通过拖动其边缘或角落来动态调整内部小部件的大小。它提供了简单直观的 API,可为任何小部件添加可调整大小的行为,并在需要时提供自定义选项。非常适合创建交互式 UI,让用户实时调整组件大小,例如仪表板、布局编辑器或设计工具。该包支持所有主要平台,包括 Android、iOS、Web、macOS、Windows 和 Linux。

适合场景
  • Interactive dashboard layouts
  • Resizable UI components in design tools
  • Dynamic form builders
  • Customizable widget containers
  • Real-time layout editing
主要特点
  • Drag-to-resize functionality
  • Flexible customization options
  • Cross-platform support
  • Simple API integration
  • Edge and corner resize handles
适合对象
  • Developers building interactive UIs
  • Design tool creators
  • Dashboard and editor applications
  • UI prototyping
  • Apps requiring dynamic widget sizing
使用建议
  • May require additional logic for complex constraints
  • Performance impact with many resizable widgets
  • Needs careful handling of touch input on mobile
  • Not suitable for static layouts
  • Requires attention to user feedback during resizing
支持平台AndroidiOSWebmacOSWindowsLinux

安装插件

flutter pub add resizable_widget

所属分类

源码仓库

关联项目

暂无相关数据。