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

Support customizing toast position with gravity #517

Open
thanhnt-mdev opened this issue Jul 11, 2024 · 0 comments
Open

Support customizing toast position with gravity #517

thanhnt-mdev opened this issue Jul 11, 2024 · 0 comments

Comments

@thanhnt-mdev
Copy link

thanhnt-mdev commented Jul 11, 2024

You should public custom position builder with gravity like below. I tried to create a pull request but looks like I don't have permission to create new branch.
/// Signature for a function to buildCustom Toast
typedef PositionedToastBuilder = Widget Function(
BuildContext context, Widget child, ToastGravity? gravity);

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

1 participant