eyro_toast library Null safety

Flutter package for Toast for Android, iOS and Web platform.

Classes

EyroToast
Class for showing Toast
EyroToastSetup
ToastDuration
Class for managing duration of showing Toast

Functions

showToaster({required String text, ToastDuration duration = ToastDuration.short, ToastGravity gravity = ToastGravity.bottom, BorderRadius borderRadius = const BorderRadius.all(Radius.circular(16)), Color backgroundColor = const Color(0xAA000000), Color fontColor = const Color(0xFFFFFFFF), TextAlign textAlign = TextAlign.center, EdgeInsets margin = const EdgeInsets.symmetric(horizontal: 16), EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 12), Border? border}) Future<bool>

Enums

ToastGravity
Enum for managing gravity of showing Toast