Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 880 Bytes

README.md

File metadata and controls

39 lines (33 loc) · 880 Bytes

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 : [email protected]
Email : ios : on [email protected]