SHAlert

pub package package publisher

Custom Alert for Flutter with Lottie

Supported Platforms

  • Android
  • IOS

How to Use

# add this line to your dependencies
sh_alert: ^0.0.5
import 'package:sh_alert/sh_alert.dart';

To call the SHAlert

  showShDialog(
                      context: context,
                      title: "Success",
                      description:
                          "In publishing and graphic design, Lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document or a typeface without relying on meaningful content. Lorem ipsum may be used as a placeholder before final copy is available.",
                      textColor: Colors.black,
                      buttonColor: Colors.grey,
                      lottieType: LottieType.asset,
                      lottieFile: "assets/files/success.json");
              

Must pass a lottieFile as an argument either network or as an asset which can be configured using lottieType

Preview Images (No BuildContext)

If you need any features suggest

...

Libraries

sh_alert