v0.4.0responsive_util
一个 Flutter 小部件,允许拖动调整其子组件的边界,以轻松测试响应式设计。
50喜欢 34近 30 天下载120Pub 分数
AndroidiOSWebmacOSWindowsLinux
一个 Flutter 小部件,可提供对子小部件边界进行拖拽调整大小的功能,以测试其响应式设计。
{"sdk":"flutter"}{"sdk":"flutter"}any以下为英文项目原文快照,最新内容请访问 GitHub。
A Flutter widget that allows drag resizing of its child's bounds to easily test responsive design.
Example Example
Wrap a widget such as a Scaffold with a ResponsiveUtil and resize it by dragging from the bottom right.
Double-tap to reset bounds.
| Properties | Description |
|---|---|
child |
The Widget to resize |
builder |
An alternative structure to be used in place of child which directly provides updated constraints to layout similar to a LayoutBuilder |
disabled |
If True, bypasses all functionality |
scrollController |
Required for Widgets that exist in some ScrollView |