Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何取消边框的圆角以及是否可添加icon #12

Closed
itMcdull opened this issue Jul 30, 2019 · 1 comment
Closed

如何取消边框的圆角以及是否可添加icon #12

itMcdull opened this issue Jul 30, 2019 · 1 comment

Comments

@itMcdull
Copy link

有一个选填的option,border吗

@appdev
Copy link
Owner

appdev commented Aug 7, 2019

可以的,你通过border就可以自定义了。

 Toast.show(msg, context,
        duration: duration,
        gravity: gravity,
        border: Border.all(color: Color(0xFFFF0000), width: 0.5));
  }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants