flutter_flexible_toast

Android Toast Library for Flutter.

How to Use

just add below in pubspec.yaml

flutter_flexible_toast: ^0.0.1
import 'package:flutter_flexible_toast/flutter_flexible_toast.dart';
FlutterFlexibleToast.showToast(
        message: "Top Short Warning 1 Sec Toast",
        toastLength: Toast.LENGTH_SHORT,
        toastGravity: ToastGravity.TOP,
        icon: ICON.WARNING,
        backgroundColor: Colors.red,
        textColor: Colors.white,
        fontSize: 16,
        timeInSeconds: 1);

To cancel all the toasts call

FlutterFlexibleToast.cancel();

Preview Screenshots

short_info_one_second_toast short_red_success_toast

For More Info

Email on ssvekariya11@gmail.com

Libraries

flutter_flexible_toast