Toast Without Third Party Library In Flutter

Toast Without Third Party Library In Flutter :

This flutter tutorial post is display toast without third party library in flutter.

1) Toast.show(‘Flutter Tutorial is best of the world’, context);
2) Toast.show(‘fff’, context, backgroundRadius: 10);

Toast Without Third Party Library In Flutter

Toast property

LENGTH_SHORT: Display the toast short time.
LENGTH_LONG: Display the toast long time.
BOTTOM: Display the toast bottom.
CENTER: Display the toast center.
TOP: Display the toast top.
duration: Display toast time.
gravity: BOTTOM, TOP, CENTER.
backgroundColor: Toast background color.
textColor: Toast text color.
backgroundRadius: Radious of border set only double.
border: Custom set you border.