toastSuccess method
Implementation
void toastSuccess(String message, BuildContext context) {
FlutterToastr.show(
message,
context,
duration: 3,
textStyle: const TextStyle(
color: Colors.white,
fontSize: 16.0,
),
backgroundColor: Colors.green,
);
}