PanaraInfoDialog class

This is the Info dialog with 4 different varients as follows:

  1. Sucess (Green color)
  2. Normal (Blue color)
  3. Warning (Orange color)
  4. Error (Red color)
  5. Custom (you can add your own color)

Also this dialog comes with 6 different animations:

  1. showAnimatedFromLeft
  2. showAnimatedFromRight
  3. showAnimatedFromTop
  4. showAnimatedFromBottom
  5. showAnimatedGrow
  6. showAnimatedShrink

Checkout online documentation for more information or example at https://pub.dev/documentation/panara_dialogs/latest/

Constructors

PanaraInfoDialog()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

show(BuildContext context, {String? title, required String message, String? imagePath, required String buttonText, required VoidCallback onTapDismiss, required PanaraDialogType panaraDialogType, Color? color, Color? textColor, Color? buttonTextColor, EdgeInsets? margin, EdgeInsets? padding, bool barrierDismissible = true, bool noImage = false}) → dynamic
This is PanaraInfoDialog without animation.
showAnimatedFromBottom(BuildContext context, {String? title, required String message, String? imagePath, required String buttonText, required VoidCallback onTapDismiss, required PanaraDialogType panaraDialogType, Color? color, Color? textColor, Color? buttonTextColor, EdgeInsets? margin, EdgeInsets? padding, bool barrierDismissible = true, bool noImage = false}) → dynamic
This will show the PanaraInfoDialog with slide animation from bottom.
showAnimatedFromLeft(BuildContext context, {String? title, required String message, String? imagePath, required String buttonText, required VoidCallback onTapDismiss, required PanaraDialogType panaraDialogType, Color? color, Color? textColor, Color? buttonTextColor, EdgeInsets? margin, EdgeInsets? padding, bool barrierDismissible = true, bool noImage = false}) → dynamic
This will show the PanaraInfoDialog with slide animation from left.
showAnimatedFromRight(BuildContext context, {String? title, required String message, String? imagePath, required String buttonText, required VoidCallback onTapDismiss, required PanaraDialogType panaraDialogType, Color? color, Color? textColor, Color? buttonTextColor, EdgeInsets? margin, EdgeInsets? padding, bool barrierDismissible = true, bool noImage = false}) → dynamic
This will show the PanaraInfoDialog with slide animation from right.
showAnimatedFromTop(BuildContext context, {String? title, required String message, String? imagePath, required String buttonText, required VoidCallback onTapDismiss, required PanaraDialogType panaraDialogType, Color? color, Color? textColor, Color? buttonTextColor, EdgeInsets? margin, EdgeInsets? padding, bool barrierDismissible = true, bool noImage = false}) → dynamic
This will show the PanaraInfoDialog with slide animation from top.
showAnimatedGrow(BuildContext context, {String? title, required String message, String? imagePath, required String buttonText, required VoidCallback onTapDismiss, required PanaraDialogType panaraDialogType, Color? color, Color? textColor, Color? buttonTextColor, EdgeInsets? margin, EdgeInsets? padding, bool barrierDismissible = true, bool noImage = false}) → dynamic
This will show the PanaraInfoDialog with grow animation from center.
showAnimatedShrink(BuildContext context, {String? title, required String message, String? imagePath, required String buttonText, required VoidCallback onTapDismiss, required PanaraDialogType panaraDialogType, Color? color, Color? textColor, Color? buttonTextColor, EdgeInsets? margin, EdgeInsets? padding, bool barrierDismissible = true, bool noImage = false}) → dynamic
This will show the PanaraInfoDialog with shrink animation from center.