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 |