On Flutter, it is called a snack bar. Pretty handy to show error, success or any warning message to the user. To make it reusable, let’s extract snack bar content. I’m going to call it CustomSnackBarContent . Create a required parameter for error text, then pass it to CustomSnakBarContent.

3m read timeFrom itnext.io
Post cover image
Table of contents
Project SetupStart Coding
1 Comment

Sort: