Skip to main content

tolyui_action 0.1.1 copy "tolyui_action: ^0.1.1" to clipboard
tolyui_action: ^0.1.1 copied to clipboard

轻量桌面操作按钮,提供悬停、按压、焦点及键盘激活,无水波纹。

tolyui_action #

桌面工具栏与面板的轻量动作按钮,支持鼠标悬停、按压、键盘焦点和 Enter/Space 激活。只依赖 Flutter,无平台插件;默认无水波纹和描边。

TolyActionButton(
  onPressed: onMove,
  child: const Text('移动'),
)

可通过 foregroundColor、backgroundColor、hoverColor 和 selectedColor 定制产品样式。onPressed 为空时禁用;autofocus 适合让确认面板默认聚焦取消操作。

按钮在 Row 和 Wrap 中按内容宽度收缩;需要占满容器时由外部提供明确的宽度约束。

0
likes
130
points
204
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

轻量桌面操作按钮,提供悬停、按压、焦点及键盘激活,无水波纹。

Homepage
Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on tolyui_action