NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #653 most downloaded on pub.dev
A really easy to use flutter toast library.Easy to use and feature rich.
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 1.2 years
Nearly every release is documented
notes for 37 of 38 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
38 releases · first in 2019
* fix: Modify Assertion Logic
fix: Fix the problem of nil judgment error
fix: Using bodyMedium instead of bodyText2
One column per quarter.
feat: Support global configuration
feat: Added margin param to showNotification
feat: Add safe area flag for custom options
* fix: Support flutter 3.x
* fix: #107
refactor: Migrate to sound null safety
* docs: Update CHANGELOG.md
fix: cancel the use of nullOk attribute
fix: cancel the use of nullOk attribute
feat: optimize toast display sequence logic
feat: add options for users to style titles
fix: The bug that ProxyDispose.disposeCallback callback cannot be triggered
ProxyDispose.disposeCallback callback cannot be triggeredfeat: add enableKeyboardSafeArea option
enableKeyboardSafeArea option* fix bug: #73
Nothing published for this version
Add two parameters: backgroundColor and borderRadius to showSimpleNotification and showNotification methods
backgroundColor and borderRadius to showSimpleNotification and showNotification methodsReimplemented the underlying initialization logic, the code is simpler and more general, and no longer depends on Navigator
Reimplemented the underlying initialization logic, the code is simpler and more general, and no longer depends on Navigator
Modify the initialization method
* bug fix
feat: Support to intercept click back button event
* fix: bug #43
* feat: add onClose callback
bug fix: Use safeRun method to ensure normal running of rearrange
safeRun method to ensure normal running of rearrangeRefactor the underlying implementation to avoid some hidden bugs
重构底层的实现方式以规避一些隐晦的bug
Refactor the underlying implementation to avoid some hidden bugs
showSimpleNotification和showNotification方法添加onTap,onLongPress参数
showSimpleNotification和showNotification方法添加onTap,onLongPress参数
showSimpleNotification and showNotification methods add onTap, onLongPress parameters
Remove the key parameter of BotToastInit
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
Remove the reInit method and the two deprecated enumerations PreferDirection.Below and PreferDirection.Upside
修改初始化的方式,现在更为通用
支持自定义Toast的动画和持续时间😉
showEnhancedWidget方法的closeFunc参数其含义已经发生了变化了,现在是等待closeFunc函数执行完毕才移除Toast
添加showAnimationWidget方法,可以使用此方法来高度自定义一个有动画的Toast🤩
移除reInit方法(2.0版本不再需要),以及PreferDirection.Below和PreferDirection.Upside这两个已经被废除的枚举
WrapWidget类型方法参数发生变化(破坏性的),但是如果你没有直接使用showEnhancedWidget方式的话,这个修改对1.x版本的代码其实是无影响的,如果有使用请看这里进行兼容1.x版本升级到2.x版本
showXxxNotification 添加dismissDirections参数:表示能进行滑动关闭的方向
showXxxText,showXxxLoading,showXxxNotification等方法添加了align参数:表示ToastContent区域在MainContent区域的对齐,可用于自定义Toast放置的位置
修复了showAttachedWidget方法的一些bug
支持flutter web(注意不能确保其稳定性)
更新example的样式,并添加了更多demo
Modify the way of initialization, now more general
Support for custom Toast animation and animation duration😉
The meaning of the closeFunc parameter of the showEnhancedWidget method has changed. Now it is wait for the closeFunc function to complete before removing Toast.
Add the showAnimationWidget method, you can use this method to highly customize an animated Toast🤩
Remove the reInit method and the two deprecated enumerations PreferDirection.Below and PreferDirection.Upside
WrapWidget type method parameter changed (not compatible with 1.x version),see 1.x version upgrade 2.x version
showXxxNotification Add dismissDirections parameter
showXxxText, showXxxLoading, showXxxNotification method adds align parameter
Fixed some bugs in the showAttachedWidget method
Support flutter web (note that it cannot ensure its stability)
Updated the style of example and added more demos
* Delete useless print
* Update document
bug fix #6
bug fix
#6
The targetContext of the showAttachedWidget method causes a positioning error when it is inside the ScrollView.
showAttachedWidget方法的targetContext在ScrollView里面时导致定位出错
主要对showAttachedWidget方法进行了增强,现在支持更多方向,定位更准确了。
主要对showAttachedWidget方法进行了增强,现在支持更多方向,定位更准确了。
PreferDirection.Below和PreferDirection.Upside被废弃了,可以改用表达更清晰的topCenter,和bottomCenter来代替,且效果完全一致。这两个枚举将会在下个大版本被删除!
showAttachedWidget的preferDirection 只是期望的方向,实际的位置可能因为空间不足而遭到调整
实际调整顺序可以拿topLeft来进行说明,如果上方空间不足则调整为bottomLeft,然后左边空间不足的话就再判断右边的空间是否充足,充足的话结果为bottomRight,不充足最终结果为bottomCenter
对于preferDirection=xxxCenter的情况,其交叉轴的偏移将会忽略
加固了当项目使用MaterialApp.navigatorKey,能使用reInit重新初始化
替换scheduleFrame方法为ensureVisualUpdate
Toast关闭后,清理向BotToastNavigatorObserver注册的函数
* 1.支持弹出Notification Toast * 2.支持某个Widget 显示 * 3.对已有的功能进行重构,增强各个方法
* 更新文档及在线例子
* 更新文档及在线例子
* 添加Loading Toast
* 只是显示Widget到屏幕
Your coding agent can read these notes before it upgrades. Set up the MCP server →