FLUTTER ECOSYSTEM

sanket-vekariya/flutter_flexible_toast

A Powerful Toast Library for Flutter. Easily create toast messages in single line of code with leading image options.

flutter_flexible_toast project cover
Stars
7
Forks
2
Last push (UTC)
May 20, 2020
Project status
Active
Sanket Vekariya GitHub avatar
GITHUB User

Sanket Vekariya ↗

Google Associate Android Developer | Flutter | Fintech | UPI | AI | Crafted 79+ Mobile Apps | Laravel | Product Builder | Scrum | Rediff ining Apps

LanguagesSwiftKotlinDartRubyJavaObjective-C

Technical topics

Packages published by this repository

Dependencies used

Dependency list 2 items
  • flutter{"sdk":"flutter"}
  • flutter_testDevelopment{"sdk":"flutter"}

Original README

English project snapshot. Visit GitHub for the latest content.

Expand / collapse project README

flutter_flexible_toast

Toast Library for Flutter.

How to Use

just add below in pubspec.yaml

flutter_flexible_toast: ^0.1.4
import 'package:flutter_flexible_toast/flutter_flexible_toast.dart';
FlutterFlexibleToast.showToast(
    message: "Short Loading 2 Sec Toast",
    toastLength: Toast.LENGTH_LONG,
    toastGravity: ToastGravity.BOTTOM,
    icon: ICON.LOADING,
    radius: 100,
    elevation: 10,
    imageSize: 35,
    textColor: Colors.white,
    backgroundColor: Colors.black,
    timeInSeconds: 2
);
To cancel all the toasts call
FlutterFlexibleToast.cancel();
Preview Screenshots

short_info_one_second_toast

For More Info

Email : android : ssvekariya11@gmail.com
Email : ios : on iospareshse@gmail.com