MyEasyDialog 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
dialogWithOptions ({required BuildContext context , required String title , required String message , String textLeftButton = 'OK' , Color ? titleTextColor , Color ? messageTextColor , String textRightButton = 'Cancel' , Function ? onPressedLeftButton , Function ? onPressedRightButton , bool isRightButtonADestructiveAction = true , double buttonFontSize = 20 , double titleFontSize = 25 })
→ void
Here is the dialog with options, it's useful if you want to pop up a dialog where you can choose between two
options. One of them can be set as destructive action.
infoDialog ({required BuildContext context , required String title , required String message , String dismissButtonText = 'OK' , VoidCallback ? onPressed , double dismissButtonFontSize = 20 , double titleFontSize = 25 , Color ? titleTextColor , Color ? messageTextColor , Color dismissAndroidButtonColor = Colors.lightBlue })
→ void
The info dialog will only show a text, a message and a dismiss button
loadingDialog ({required BuildContext context , String title = "" , double titleFontSize = 25 , Color ? androidLoadingColor })
→ void
textInputDialog ({required BuildContext context , required String title , required String message , TextEditingController ? editingController , String dismissButtonText = 'OK' , Color ? titleTextColor , Color ? messageTextColor , VoidCallback ? onPressed , VoidCallback ? onEditingComplete , Function ? onChanged , double dismissButtonFontSize = 20 , double titleFontSize = 25 , String ? placeHolder })
→ void