pq_toast 1.0.0

PQ_Toast #

A simple package to show toast message on the web ,support flutter web

Installation #

add this to your pubspec.yaml 
pq_toast: any

Usage #

import 'package:pq_toast/web_toast.dart';

Toast.showErrorToast("Success message");
Toast.showSuccessToast("Error message");
Toast.showInfoToast("Info message");
Toast.showWarningToast("Warning message");

[0.0.1] - 29/10/2019

  • TODO: Describe initial release.

[0.0.2] - 29/10/2019

  • Remove flutter dependencies

[1.0.0] - 29/10/2019

  • Add example


import 'package:pq_toast/pq_toast.dart';

void main() {
  Toast.showErrorToast("Error message");
  Toast.showSuccessToast("Success message");
  Toast.showInfoToast("Info message");
  Toast.showWarningToast("Warning message");

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  pq_toast: ^1.0.0

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:pq_toast/pq_toast.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Feb 13, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.5

Health issues and suggestions

Document public APIs. (-1 points)

8 out of 8 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0