DialogAction constructor

DialogAction({
  1. bool close = false,
  2. required String title,
  3. Color? color,
  4. dynamic action()?,
})

对话框按钮 >>>

Implementation

DialogAction(
    {this.close = false, required this.title, this.color, this.action});