showCenterTipsAlter method

dynamic showCenterTipsAlter({
  1. required Function callback,
  2. dynamic title,
  3. dynamic info,
  4. dynamic cancelText,
  5. dynamic sureText,
  6. dynamic width,
  7. dynamic height,
  8. bool sureBtn = true,
  9. bool cancelBtn = true,
  10. dynamic heightAuto,
  11. dynamic elevation,
  12. dynamic minHeight,
  13. dynamic maxHeight,
  14. dynamic child,
})

中间弹出提示框

Implementation

showCenterTipsAlter(
    {required Function callback,
    title,
    info,
    cancelText,
    sureText,
    width,
    height,
    bool sureBtn = true,
    bool cancelBtn = true,
    heightAuto,
    elevation,
    minHeight,
    maxHeight,
    child}) {
  return showDialog(
    barrierColor: barrierColor,
    context: context,
    builder: (BuildContext context) {
      return TipsAlterHeightAutoWidget(
        callback,
        cancelText,
        sureText,
        width,
        height,
        sureBtn,
        cancelBtn,
        child: child,
        info: info,
        title: title,
        minHeight: minHeight,
        elevation: elevation,
        maxHeight: maxHeight,
      );
    },
  );
}