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

Overview

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):

      dependencies:
         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):
          Fluttertoast.showToast(
              msg: "Put your Toast Message here",
              //message
              toastLength: Toast.LENGTH_SHORT,
              //timeshow
              gravity: ToastGravity.CENTER,
              //position of toast
              timeInSecForIosWeb: 1,
              backgroundColor: Colors.red,
              textColor: Colors.white,
              fontSize: 16.0,
          );
      
  • Preview

| | |

You might also like...

Create dart data classes easily, fast and without writing boilerplate or running code generation.

Create dart data classes easily, fast and without writing boilerplate or running code generation.

Dart Data Class Generator Create dart data classes easily, fast and without writing boilerplate or running code generation. Features The generator can

Feb 28, 2022

Use the easiest way to create a dotted line view 👀!

Use the easiest way to create a dotted line view 👀!

fdottedline Use the easiest way to create a dotted line view 👀 ! [FDottedLine] provides developers with the ability to create dashed lines. It also s

Jul 17, 2022

Verify code input. You can create a verify code input.

flutter_verification_code_input A Flutter package that help you create a verification input. Installing flutter_verification_code_input: git:

Dec 7, 2022

Verify code input. You can create a verify code input.

flutter_verification_code_input A Flutter package that help you create a verification input. Installing flutter_verification_code_input: git:

Dec 7, 2022

Android test task master - Create PIN code screen, authentication by PIN code screen and menu screen

Android test task master - Create PIN code screen, authentication by PIN code screen and menu screen

Here is described test tasks for a android dev. Need to implement three screens:

Oct 4, 2022

This is a command-line app written on dart language for flutter applications that will help you to generate some boilerplate code

dart-generator Manual installation: 1- generate a platform executable from code dart compile exe main.dart -o generator this will generate a new gene

Oct 26, 2022

changelog.dart provides a library and a command-line application to manage in the correct way the git metadata to build the changelog between two release

changelog.dart provides a library and a command-line application to manage in the correct way the git metadata to build the changelog between two release

changelog.dart 🎯 changelog.dart: a collection of tools to manages in a fashion way a repository as maintainer. 🎯 Project Homepage Table of Content I

Dec 18, 2022

Colorpicker flutter - This Color picker for flutter apps provide picking facility for both single and multiple color choosing

Colorpicker flutter - This Color picker for flutter apps provide picking facility for both single and multiple color choosing

This Color picker for flutter apps provide picking facility for both single and

Feb 2, 2022
Owner
Bouziani Mohammed
I'm a Software Developper :computer: focusing on :game_die: full-stack serverless Mobile, Web, and Desktop applications.:balloon:
Bouziani Mohammed
Flutter Toast 使用 Flutter 原生 API实现的 Toast 功能

Toast A Flutter Toast plugin. How to Use # add this line to your dependencies toast: ^0.1.4 import 'package:toast/toast.dart'; Toast.show("Toast plugi

null 107 Oct 8, 2022
AI Library to create efficient Artificial Neural Networks. Computation uses SIMD (Single Instruction Multiple Data) to improve performance.

eneural_net eNeural.net / Dart is an AI Library for efficient Artificial Neural Networks. The library is portable (native, JS/Web, Flutter) and the co

null 21 Dec 29, 2022
Socket library for creating real-time multiplayer games. Based on TCP, with the ability to send messages over UDP (planned).

Game socket The library was published in early access and is not stable, as it is being developed in parallel with other solutions. English is not a n

Stanislav 10 Aug 10, 2022
A most easily usable cookie management library in Dart. With SweetCookieJar, you can easily manage cookie on your application.

A most easily usable cookie management library in Dart! 1. About 1.1. Introduction 1.1.1. Install Library 1.1.2. Import It 1.1.3. Use SweetCookieJar 1

Kato Shinya 9 Oct 27, 2022
A most easily usable cache management library in Dart. With CacheStorage, you can easily manage cache on your application.

A most easily usable cache management library in Dart! 1. About 1.1. Introduction 1.1.1. Install Library 1.1.2. Import It 1.1.3. Use CacheStorage 1.2.

Kato Shinya 1 Dec 13, 2021
A most easily usable RESAS API wrapper in Dart. With this library, you can easily integrate your application with the RESAS API.

A most easily usable RESAS API wrapper library in Dart! 1. About 1.1. What Is RESAS? 1.2. Introduction 1.2.1. Install Library 1.2.2. Import It 1.2.3.

Kato Shinya 2 Apr 7, 2022
A flutter plugin about qr code or bar code scan , it can scan from file、url、memory and camera qr code or bar code .Welcome to feedback your issue.

r_scan A flutter plugin about qr code or bar code scan , it can scan from file、url、memory and camera qr code or bar code .Welcome to feedback your iss

PengHui Li 112 Nov 11, 2022
Show a draggable floating chat icon button and show messages on screens

Show a draggable floating chat icon button and show messages on screens Features A widget for displaying a chat icon (or custom widget) on top of a ba

CU Apps 4 May 5, 2022
Riverpod Messages Listener: A message notification listener for apps build with Riverpod

Riverpod Messages Listener Hello all, this is the home page of riverpod_messages package, a message notification listener for apps build with Riverpod

Fabrizio Tognetto 4 Dec 8, 2022
Display multiple simple messages at a same time.

Simple multipurpse flashes to announce different messages to the user and interact with them. Display multiple flashes at the same time and avoid writ

Hassan Emami 3 Oct 10, 2022