import 'package:flutter/material.dart';
import 'package:fluttertoast/fluttertoast.dart';

import 'Constants/Colorconstants.dart';

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

    );
  }
}