AdaptiveProgressDialogStyle constructor

AdaptiveProgressDialogStyle({
  1. TextStyle? titleTextStyle,
  2. TextStyle? contentTextStyle,
  3. TextStyle? confirmButtonTextStyle,
  4. TextStyle? cancelButtonTextStyle,
  5. EdgeInsets? materialContentPadding,
  6. EdgeInsets? materialActionsPadding,
  7. MainAxisAlignment? materialActionsAlignment,
})

This is a class that defines the style for the AdaptiveProgressDialog widget.

It contains properties for customizing the visual appearance of the dialog such as text styles and padding.

Serval properties of the dialog can be customized:

  • titleTextStyle - defines a title text style

  • contentTextStyle - defines a content text style

  • confirmButtonTextStyle - defines a confirmation button text style

  • cancelButtonTextStyle - defines a cancel button text style

  • materialContentPadding - defines a content padding - only for Material Dialog - ignored for Cupertino

  • materialActionsPadding - defines a action buttons padding - only for Material Dialog - ignored for Cupertino

  • materialActionsAlignment - defines a action buttons alignment - only for Material Dialog - ignored for Cupertino

Implementation

AdaptiveProgressDialogStyle({
  this.titleTextStyle,
  this.contentTextStyle,
  this.confirmButtonTextStyle,
  this.cancelButtonTextStyle,
  this.materialContentPadding,
  this.materialActionsPadding,
  this.materialActionsAlignment,
});