Release 4.0.0
Unclaimed project
Are you a maintainer of bot_toast? Claim this project to take control of your public changelog and roadmap.
Changelog
A very easy-to-use flutter popup library. Including toast, loading, etc.
Release 4.0.0
重构底层的实现方式以规避一些隐晦的bug
Refactor the underlying implementation to avoid some hidden bugs
bug fix: see #11
移除BotToastInit的key参数
BotToast.init方法变为私有方法不再公开
重构了初始化的方式
Remove the key parameter of BotToastInit
BotToast.init method becomes private and no longer public
Refactored the way to initialize
修改初始化的方式,现在更为通用
支持自定义Toast的动画和持续时间😉
showEnhancedWidget方法的closeFunc参数其含义已经发生了变化了,现在是等待closeFunc函数执行完毕才移除Toast
添加showAnimationWidget方法,可以使用此方法来高度自定义一个有动画的Toast🤩
移除reInit方法(2.0版本不再需要),以及PreferDirection.Below和PreferDirection.Upside这两个已经被废除的枚举
WrapWidget类型方法参数发生变化(破坏性的),但是如果你没有直接使用showEnhancedWidget方式的话,这个修改对1.x版本的代码其实是无影响的,如果有使用请看这里进行兼容[1.x版本升级到2.x版本]...