You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
363 B
Dart
10 lines
363 B
Dart
|
5 years ago
|
import 'package:flutter/material.dart';
|
||
|
|
import 'package:fluttertoast/fluttertoast.dart';
|
||
|
|
|
||
|
|
class Utils {
|
||
|
|
static void showToast(String message) {
|
||
|
|
Fluttertoast.showToast(
|
||
|
|
msg: message, toastLength: Toast.LENGTH_SHORT, gravity: ToastGravity.BOTTOM, timeInSecForIosWeb: 1, backgroundColor: Colors.black54, textColor: Colors.white, fontSize: 16.0);
|
||
|
|
}
|
||
|
|
}
|