LiSimpleDialogComponent class
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
Static Methods
-
getColor(LiDialogColor dialogColor)
→ String
-
-
showAlert(String message, {String? subMessage, String title = 'Alerta', String detailLabel = 'Detalhe', LiDialogColor dialogColor = LiDialogColor.PRIMARY, Function? okAction, int zIndex = defaultZIndex})
→ void
-
-
showConfirm(String message, {String? subMessage, String title = 'Confirmar', String cancelButtonText = 'Cancelar', Function? cancelAction, String confirmButtonText = 'Sim', Function? confirmAction, LiDialogColor dialogColor = LiDialogColor.DANGER, int zIndex = defaultZIndex})
→ Future<bool>
-
-
showFullScreenAlert(String message, {String backgroundColor = '#de589d', int zIndex = defaultZIndex})
→ void
-
-
showFullScreenDialog(String content, {int zIndex = defaultZIndex})
→ void
-
-
showPrompt(String message, {String? subMessage, String title = 'Solicitar informação', String cancelButtonText = 'Cancelar', Function? cancelAction, String confirmButtonText = 'Confirmar', dynamic confirmAction(String value)?, LiDialogColor dialogColor = LiDialogColor.PRIMARY, LiSimpleDialogInputType inputType = LiSimpleDialogInputType.text, String? inputLabel, String? inputPlaceholder, String inputValue = '', LiSimpleDialogInputConfig? inputConfig, LiSimpleDialogInputValidator? inputValidator, int zIndex = defaultZIndex})
→ Future<String?>
-
Constants
-
defaultZIndex
→ const int
-
Kept
const because it is the default value of a parameter, which Dart
requires to be constant. The layer that actually moves is
LiOverlayLayers.dialog; pass zIndex: LiOverlayLayers.dialog to follow
an application that shifted the scale.