Dialogs class
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
Static Methods
bottomMaterialDialog ({required BuildContext context , dynamic onClose (dynamic value )?, String ? title , String ? msg , List <Widget > ? actions , dynamic actionsBuilder (BuildContext context )?, Widget customView = holder , CustomViewPosition customViewPosition = CustomViewPosition.BEFORE_TITLE , LottieBuilder? lottieBuilder , bool barrierDismissible = true , ShapeBorder dialogShape = BottomSheetShape , TextStyle titleStyle = titleStyle , TextStyle ? msgStyle , Color color = bcgColor , bool isScrollControlled = false , bool useRootNavigator = false , bool isDismissible = true , bool enableDrag = true , RouteSettings ? routeSettings , AnimationController ? transitionAnimationController })
→ void
Displays bottom sheet Material dialog above the current contents of the app
materialDialog ({required BuildContext context , dynamic onClose (dynamic value )?, String ? title , String ? msg , List <Widget > ? actions , dynamic actionsBuilder (BuildContext context )?, Widget customView = holder , CustomViewPosition customViewPosition = CustomViewPosition.BEFORE_TITLE , LottieBuilder? lottieBuilder , bool barrierDismissible = true , Color ? barrierColor = Colors.black54 , String ? barrierLabel , bool useSafeArea = true , bool useRootNavigator = true , RouteSettings ? routeSettings , ShapeBorder dialogShape = dialogShape , TextStyle titleStyle = titleStyle , TextStyle ? msgStyle , TextAlign ? titleAlign , TextAlign ? msgAlign , Color color = bcgColor , double ? dialogWidth })
→ Future <void >
Displays normal Material dialog above the current contents of the app
context your parent widget context
color dialog background color
title your dialog title
titleStyle your dialog title style
titleAlign your dialog title alignment
msg your dialog description message
msgStyle your dialog description style
msgAlign your dialog description alignment
customView a custom view shown in the dialog at customViewPosition and by default before the title
actions Widgets to display a row of buttons after the msg widget.
onClose used to listen to dialog close events.