Android and iOS Toast Library for Flutter
Supported Platforms
- Android
- IOS
# add this line to your dependencies
import 'package:fluttertoast/fluttertoast.dart';
FlutterToast.showToast(
message: "You message here",
toastLength: ToastLength.LENGTH_SHORT
);
property | description |
---|---|
msg | String (Not Null)(required) |
toastLength | ToastLength.LENGTH_SHORT or ToastLength.LENGTH_LONG (optional) |