Dialogs class

Constructors

Dialogs()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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

Static Methods

bottomMaterialDialog({BuildContext context, String title, String msg, List<Widget> actions, String animations, ShapeBorder dialogShape: BottomSheetShape, TextStyle titleStyle: titleStyle, TextStyle msgStyle, Color color: bcgColor}) → void
Displays bottom sheet Material dialog above the current contents of the app
materialDialog({BuildContext context, String title, String msg, List<Widget> actions, String animations, ShapeBorder dialogShape: dialogShape, TextStyle titleStyle: titleStyle, TextStyle msgStyle, Color color: bcgColor}) 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 msg your dialog description message msgStyle your dialog description style actionsWidgets to display a row of buttons after the msg widget.

Constants

bcgColor → const Color
bcgColor background default value
const Color(0xfffefefe)
BottomSheetShape → const ShapeBorder
BottomSheetShape bottom dialog outer shape
const RoundedRectangleBorder(borderRadius: const BorderRadius.only(topLeft: const Radius.circular(16), topRight: const Radius.circular(16)))
dialogShape → const ShapeBorder
dialogShape dialog outer shape
const RoundedRectangleBorder(borderRadius: const BorderRadius.all(const Radius.circular(16)))
titleStyle → const TextStyle
titleStyle can be used to change the dialog title style
const TextStyle(fontWeight: FontWeight.bold, fontSize: 16)