eyro_toast

Last updated:

0 purchases

eyro_toast Image
eyro_toast Images
Add to Cart

Description:

eyro toast

Flutter Toast #

A simple yet powerful Flutter plugin for showing Toast at Android and iOS.
Features:

Native Toast
Pure Flutter Toaster

Installation #
Add to pubspec.yaml:
dependencies:
eyro_toast: any
copied to clipboard
Import Library #
import 'package:eyro_toast/eyro_toast.dart';
copied to clipboard
Native Toast #
// showing short Toast
await EyroToast.showToast(
text: 'This is short toast',
duration: ToastDuration.short,
);

// showing long Toast
await EyroToast.showToast(
text: 'This is long toast',
duration: ToastDuration.long,
);
copied to clipboard
Pure Flutter Toaster #
await showToaster(
text: 'This is a centered Toaster',
duration: ToastDuration.short,
gravity: ToastGravity.bottom,
borderRadius: const BorderRadius.all(Radius.circular(16)),
backgroundColor: const Color(0xAA000000),
fontColor: const Color(0xFFFFFFFF),
textAlign: TextAlign.center,
margin: const EdgeInsets.symmetric(horizontal: 16),
padding: const EdgeInsets.symmetric(
horizontal: 16,
vertical: 12,
),
border: null,
);
copied to clipboard
Author #
Eyro Toast plugin is developed by Eyro Labs. You can contact us at [email protected].

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.