DialogCenterHintWidget constructor

const DialogCenterHintWidget({
  1. Key? key,
  2. required String title,
  3. bool outSideDismissible = false,
  4. String? cancelText,
  5. String? affirmText,
  6. Color? cancelTextColor,
  7. Color? affirmTextColor,
  8. required String content,
  9. dynamic onPressed(
    1. bool tag
    )?,
})

tag 如果是true 代表点击确认

Implementation

const DialogCenterHintWidget(
    {Key? key,
    required this.title,
    this.outSideDismissible = false,
    this.cancelText,
    this.affirmText,
    this.cancelTextColor,
    this.affirmTextColor,
    required this.content,
    this.onPressed})
    : super(
          key: key, insetAnimationDuration: const Duration(milliseconds: 0));