alerter 1.0.0 copy "alerter: ^1.0.0" to clipboard
alerter: ^1.0.0 copied to clipboard

A flutter package to display slert/snackbar to the user.

Alerter #

Alerter is the flutter package that shows custom alert/snackbar to the user. It is highly customizable and easy to integrate.

Usage #

To use the package, add alerter as a dependency in your pubspec.yaml file.

import 'package:alerter/alerter.dart';

You can use it as

  void showAlerter() {
    Alerter.show(
      context,
      title: 'This is title',
      message: 'This is a message.',
      icon: Icons.check_circle,
      position: OverlayPosition.bottom,
    );
  }

Screenshot #

alerter

Properties #

Property Description Default
context BuildContext Required
message Alerter message Required
title Title of the alerter null
backgroundColor Alerter background color black87
textColor Alerter text color white
iconColor Alerter icon color white
icon IconData of the icon null
iconSize Icon size if icon is provided 35
isIconAnimated Indicates if the icon should be animated true
duration Indicates for how long the alerter should be active OverlayDuration.normal
position Indicates the position of the alerter OverlayPosition.bottom

Contribution #

You are open to contribute to this package in any way you want like opening a PR or Issues

4
likes
0
pub points
43%
popularity

Publisher

verified publishersujangainju.com.np

A flutter package to display slert/snackbar to the user.

Repository (GitHub)
View/report issues

Topics

#ui #snackbar #flutter #alerter #toast

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on alerter