showConfirmDialog static method
Future
showConfirmDialog(
- dynamic context,
- dynamic message,
- dynamic hintText,
- dynamic alertMsg, {
- dynamic title,
- dynamic lblOK,
- dynamic alignMessage = Alignment.centerLeft,
- dynamic alignMessageText = TextAlign.left,
- dynamic colorMessage = const Color(0xFF1F1F1F),
- dynamic hasSubOK = false,
- dynamic showMsg = true,
- dynamic autoClose = true,
- dynamic inputType = TextInputType.text,
- dynamic maxLength,
- dynamic line = 1,
- dynamic isCheckEmpty = true,
- dynamic action = TextInputAction.done,
- dynamic initContent = '',
- dynamic padding,
- dynamic inputFormatters,
- dynamic suffix,
Implementation
static Future<dynamic> showConfirmDialog(final context, message, hintText, alertMsg,
{title, lblOK, alignMessage = Alignment.centerLeft, alignMessageText = TextAlign.left,
colorMessage = const Color(0xFF1F1F1F), hasSubOK = false, showMsg = true,
autoClose = true, inputType = TextInputType.text, maxLength, line = 1,
isCheckEmpty = true, action = TextInputAction.done, initContent = '',
padding, inputFormatters, suffix}) =>
showDialog(barrierDismissible: autoClose, context: context,
builder: (context) => ConfirmDialogCustom(alertMsg, showMsg: showMsg,
title: title, message: message, hintText: hintText, lblOK: lblOK,
alignMessage: alignMessage, alignMessageText: alignMessageText,
colorMessage: colorMessage, inputType: inputType, maxLength: maxLength,
hasSubOK: hasSubOK, isCheckEmpty: isCheckEmpty, action: action, suffix: suffix,
initContent: initContent, line: line, padding: padding, inputFormatters: inputFormatters));