bot_toast 1.1.1 copy "bot_toast: ^1.1.1" to clipboard
bot_toast: ^1.1.1 copied to clipboard

outdated

A really easy to use flutter toast library.Easy to use and feature rich.

[0.0.1] #

  • 只是显示Widget到屏幕

[0.0.2] #

  • 添加Loading Toast

[1.0.0] #

  • 1.支持弹出Notification Toast
  • 2.支持某个Widget 显示
  • 3.对已有的功能进行重构,增强各个方法

[1.0.0+1] #

  • 更新文档及在线例子

[1.0.0+2] #

  • 更新文档及在线例子

[1.0.1] #

  • Toast关闭后,清理向BotToastNavigatorObserver注册的函数

[1.0.2] #

  • 放宽init重复初始化检查的程度
  • 替换scheduleFrame方法为ensureVisualUpdate

[1.0.3] #

  • 修复当pop所有Route再push Route会出现Bug
  • 加固了当项目使用MaterialApp.navigatorKey,能使用reInit重新初始化

[1.1.0] #

  • 主要对showAttachedWidget方法进行了增强,现在支持更多方向,定位更准确了。

  • PreferDirection.BelowPreferDirection.Upside被废弃了,可以改用表达更清晰的topCenter,和bottomCenter来代替,且效果完全一致。这两个枚举将会在下个大版本被删除!

  • showAttachedWidgetpreferDirection 只是期望的方向,实际的位置可能因为空间不足而遭到调整

  • 实际调整顺序可以拿topLeft来进行说明,如果上方空间不足则调整为bottomLeft,然后左边空间不足的话就再判断右边的空间是否充足,充足的话结果为bottomRight,不充足最终结果为bottomCenter

  • 对于preferDirection=xxxCenter的情况,其交叉轴的偏移将会忽略

[1.1.1] #

  • Bug fix:

The targetContext of the showAttachedWidget method causes a positioning error when it is inside the ScrollView.

showAttachedWidget方法的targetContext在ScrollView里面时导致定位出错

877
likes
30
pub points
99%
popularity

Publisher

unverified uploader

A really easy to use flutter toast library.Easy to use and feature rich.

Repository (GitHub)
View/report issues

License

Apache-2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on bot_toast