CelebrationMessageOptions constructor

const CelebrationMessageOptions({
  1. required String message,
  2. bool showMessage = true,
  3. Alignment alignment = Alignment.bottomCenter,
  4. EdgeInsets outerPadding = const EdgeInsets.fromLTRB(24, 0, 24, 56),
  5. TextAlign textAlign = TextAlign.center,
  6. TextStyle? style,
  7. BoxDecoration? decoration,
  8. EdgeInsets innerPadding = const EdgeInsets.symmetric(horizontal: 16, vertical: 10),
  9. int? durationInSeconds,
})

Creates message styling for the overlay.

Implementation

const CelebrationMessageOptions({
  required this.message,
  this.showMessage = true,
  this.alignment = Alignment.bottomCenter,
  this.outerPadding = const EdgeInsets.fromLTRB(24, 0, 24, 56),
  this.textAlign = TextAlign.center,
  this.style,
  this.decoration,
  this.innerPadding =
      const EdgeInsets.symmetric(horizontal: 16, vertical: 10),
  this.durationInSeconds,
});