showConfirmDialog static method

Future showConfirmDialog(
  1. dynamic context,
  2. dynamic message,
  3. dynamic hintText,
  4. dynamic alertMsg, {
  5. dynamic title,
  6. dynamic lblOK,
  7. dynamic alignMessage = Alignment.centerLeft,
  8. dynamic alignMessageText = TextAlign.left,
  9. dynamic colorMessage = const Color(0xFF1F1F1F),
  10. dynamic hasSubOK = false,
  11. dynamic showMsg = true,
  12. dynamic autoClose = true,
  13. dynamic inputType = TextInputType.text,
  14. dynamic maxLength,
  15. dynamic line = 1,
  16. dynamic isCheckEmpty = true,
  17. dynamic action = TextInputAction.done,
  18. dynamic initContent = '',
  19. dynamic padding,
  20. dynamic inputFormatters,
  21. 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));