flutter_flexible_toast 0.1.2 copy "flutter_flexible_toast: ^0.1.2" to clipboard
flutter_flexible_toast: ^0.1.2 copied to clipboard

outdated

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

flutter_flexible_toast #

Android Toast Library for Flutter.

How to Use #

just add below in pubspec.yaml

flutter_flexible_toast: ^0.1.2
import 'package:flutter_flexible_toast/flutter_flexible_toast.dart';
void showCenterShortLoadingToast() {
    FlutterFlexibleToast.showToast(
        message: "Short Loading 2 Sec Toast",
        toastLength: Toast.LENGTH_LONG,
        toastGravity: ToastGravity.BOTTOM,
        icon: ICON.LOADING,
        radius: 100,
        elevation: 10,
        textColor: Colors.white,
        backgroundColor: Colors.black,
        timeInSeconds: 2);
  }

To cancel all the toasts call #

FlutterFlexibleToast.cancel();

Preview Screenshots #

short_info_one_second_toast short_red_success_toast short_loading_gif_toast

For More Info #

Email on ssvekariya11@gmail.com

37
likes
0
pub points
59%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_flexible_toast