CourtesyWidget constructor
CourtesyWidget({
- Key? key,
- Widget? leading,
- required String title,
- String? message,
- String? action,
- VoidCallback? onPressed,
- EdgeInsets padding = const EdgeInsets.all(16),
- 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);