AppDialog constructor

AppDialog({
  1. String title = '标题',
  2. bool showCancel = true,
  3. Widget? contentWidgets,
  4. String? cancelTxt,
  5. String? entifyTxt,
  6. VoidCallback? onCancel,
  7. VoidCallback? onSuccess,
  8. double marginGap = 15,
  9. String entifyColor = "#1b9298",
  10. double radiusSize = 10,
  11. Key? key,
})

Implementation

AppDialog({this.title = '标题',
  this.showCancel = true,
  this.contentWidgets,
  this.cancelTxt,
  this.entifyTxt,
  this.onCancel,
  this.onSuccess,
  this.marginGap=15,
  this.entifyColor="#1b9298",
  this.radiusSize=10,
  Key? key})
    : super(key: key);