CourtesyWidget constructor

CourtesyWidget({
  1. Key? key,
  2. Widget? leading,
  3. required String title,
  4. String? message,
  5. String? action,
  6. VoidCallback? onPressed,
  7. EdgeInsets padding = const EdgeInsets.all(16),
  8. EdgeInsets marginBetweenWidgets = const EdgeInsets.only(top: 8),
})

Implementation

CourtesyWidget({
  Key? key,
  this.leading,
  required this.title,
  this.message,
  this.action,
  this.onPressed,
  this.padding = const EdgeInsets.all(16),
  this.marginBetweenWidgets = const EdgeInsets.only(top: 8),
}) : super(key: key);