FLUTTER ECOSYSTEM

hawkinsjb1/responsive_util

一个 Flutter 小部件,可提供对子小部件边界进行拖拽调整大小的功能,以测试其响应式设计。

responsive_util 项目封面
Stars
48
Forks
3
最近推送(UTC)
2022年9月2日
项目状态
未归档
Ben Hawkins GitHub avatar
GITHUB User

Ben Hawkins ↗

Austin, TX
语言C++DartCMakeCSwiftKotlinObjective-C

此仓库发布的插件

使用的依赖

依赖清单 3 项
  • flutter{"sdk":"flutter"}
  • flutter_test开发依赖{"sdk":"flutter"}
  • test开发依赖any

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

responsive_util

pub package Platform

A Flutter widget that allows drag resizing of its child's bounds to easily test responsive design.

Example Example


Usage

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