Personalised Toast Library for Flutter

You are currently viewing Personalised Toast Library for Flutter
Toast Library for Flutter

Create Toast messages on a Flutter Event. fluttertoast: ^8.0.8

Toast Library for Flutter, Easily create Personalised toast messages in single line of code

Getting Started

  • Download this package as a library
    • Depend on it Run this command:
$ flutter pub add fluttertoast
  • This will add a line like this to your package’s pubspec.yaml (and run an implicit flutter pub get):
   fluttertoast: ^8.0.8
  • Import it Now in your Dart code, you can use:
import 'package:fluttertoast/fluttertoast.dart';
  • How to Use this Packege
    • Basic usage (to create an SVG rendering widget from an asset):
        msg: "Put your Toast Message here",
        toastLength: Toast.LENGTH_SHORT,
        gravity: ToastGravity.CENTER,
        //position of toast
        timeInSecForIosWeb: 1,
        textColor: Colors.white,
        fontSize: 16.0,
  • Preview
See also  A Flutter Toast Plugin Example

Learn about toast. click here


This project is developed by Mbouziani
Download this project from the below link.
You can visit the source page from the below link:

Spread the love

Leave a Reply