showToastCustom method
Display a custom Toast message.
Use id to specify a custom toast style registered via Nylo.addToastNotifications.
Implementation
void showToastCustom({String? title, String? description, String? id}) {
if (state == null) return;
StateAction.showToastCustom(
state!,
title: title,
description: description ?? '',
id: id,
);
}