INNER CODE UNIT · Dart

AlertStyle

RatelHub/rflutter_alert · lib/src/alert_style.dart:14

class AlertStyle {
  /// The [animationType] parameter is used for transitions. Default: "fromBottom"
  final AnimationType animationType;

  /// The [animationDuration] parameter is used to set the animation transition time. Default: "200 ms"
  final Duration animationDuration;

  /// The [alertBorder] parameter sets border.
  final ShapeBorder? alertBorder;

  /// The [isButtonVisible] paramater is used to decide hide or display buttons
  final bool isButtonVisible;

  /// The [isCloseButton] parameter sets visibility of the close button. Default: "true"
  final bool isCloseButton;

  /// The [isOverlayTapDismiss] parameter sets closing the alert by clicking outside. Default: "true"
  final bool isOverlayTapDismiss;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…