ScreenDialog constructor

const ScreenDialog({
  1. required String title,
  2. required Color cancelButtonColor,
  3. required AlignmentGeometry titleAlignment,
  4. double fontSize = AppConstants.fontLargeX,
  5. FontWeight fontWeight = FontWeight.bold,
  6. EdgeInsets contentPadding = const EdgeInsets.fromLTRB(24, 15, 24, 24),
  7. String? description,
  8. double? borderRadius,
  9. EdgeInsets? titleTextMargin,
  10. double? textHeight,
  11. Widget? content,
  12. Widget? titleIcon,
  13. Key? key,
})

Implementation

const ScreenDialog({
  required this.title,
  required this.cancelButtonColor,
  required this.titleAlignment,
  this.fontSize = AppConstants.fontLargeX,
  this.fontWeight = FontWeight.bold,
  this.contentPadding = const EdgeInsets.fromLTRB(24, 15, 24, 24),
  this.description,
  this.borderRadius,
  this.titleTextMargin,
  this.textHeight,
  this.content,
  this.titleIcon,
  Key? key,
}) : super(key: key);