PanaraInfoDialog class
This is the Info dialog with 4 different varients as follows:
- Sucess (Green color)
- Normal (Blue color)
- Warning (Orange color)
- Error (Red color)
- Custom (you can add your own color)
Also this dialog comes with 6 different animations:
- showAnimatedFromLeft
- showAnimatedFromRight
- showAnimatedFromTop
- showAnimatedFromBottom
- showAnimatedGrow
- showAnimatedShrink
Checkout online documentation for more information or example at https://pub.dev/documentation/panara_dialogs/latest/
Constructors
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.