Flutter的Toast之oktoast的使用

1.在pubspec.yaml中加入:html   oktoast: ^2.0.0,而后运行package getapp 2.包装 app widget函数    在main.dart中,必须使用OKToast包起来,code      3.调用htm 若是只是Toast文字,可直接调用showToast函数,可经过设置position来设置Toast的位置    如:blog showToast
相关文章
相关标签/搜索