Skip to main content

w_tools_toast 1.0.0 copy "w_tools_toast: ^1.0.0" to clipboard
w_tools_toast: ^1.0.0 copied to clipboard

w_tools 的轻量提示层:基于 bot_toast 封装文本、成功、错误、警告、加载与自定义提示,统一配置样式、位置与关闭行为。

Changelog #

1.0.0 #

首次发布。

  • 新增 WToastConfig:时长、对齐、背景色、动画时长、关闭回调等统一配置
  • 新增文本、成功、错误、警告、加载、自定义六种提示入口
  • 加载提示全局唯一,重复调用会先关闭上一个
  • 新增 WToast.hideAll / WToastConfig.hideAll 一次性清理全部提示
  • 新增 copy() / copyWith() 配置复用
  • 提示显示失败时通过 onError 上报,不向调用方抛异常
0
likes
135
points
61
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

w_tools 的轻量提示层:基于 bot_toast 封装文本、成功、错误、警告、加载与自定义提示,统一配置样式、位置与关闭行为。

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#flutter #toast #notifications #ui

License

MIT (license)

Dependencies

bot_toast, flutter

More

Packages that depend on w_tools_toast