);

Code after migration:

ScaffoldMessenger

of

context

showSnackBar

mySnackBar

);

ScaffoldMessenger

of

context

removeCurrentSnackBar

mySnackBar

);

ScaffoldMessenger

of

context

hideCurrentSnackBar

mySnackBar

);

References

Design Document

ScaffoldMessenger Design

Video Content

SnackBar Delivery

Widget of the Week

API documentation:

ScaffoldMessenger

SnackBar