BaseDialog constructor

const BaseDialog({
  1. Key? key,
  2. required String title,
  3. required Function onPressed,
  4. bool hiddenTitle = false,
  5. String? subTitle,
  6. String? cancelText = "取消",
  7. String confirmText = "确定",
  8. double height = 140,
})

Implementation

const BaseDialog({
  Key? key,
  required this.title,
  required this.onPressed,
  this.hiddenTitle = false,
  this.subTitle,
  this.cancelText = "取消",
  this.confirmText = "确定",
  this.height = 140,
}) : super(key: key);