show method
显示基本Toast消息
message 要显示的消息
duration 显示时长
position 显示位置
style 样式配置
Implementation
Future<bool?> show({
required String message,
Duration duration = const Duration(seconds: 2),
DencendToastGravity? position,
ToastStyle? style,
}) {
return DencendToast.showToast(
msg: message,
toastDuration: duration,
gravity: position,
style: style,
);
}