import 'package:fluttertoast/fluttertoast.dart';
import '../constants/color_constants.dart';

class Toast{
  static void showToast(String message){
    Fluttertoast.showToast(
        msg: message,
        textColor: ColorConstants.secondaryColor,
        timeInSecForIosWeb: 1,
        webShowClose: true,
        backgroundColor: ColorConstants.grey,
        gravity: ToastGravity.TOP_RIGHT,
        fontSize: 15.0,
    );
  }
}