CelebrationMessageOptions constructor
- required String message,
- bool showMessage = true,
- Alignment alignment = Alignment.bottomCenter,
- EdgeInsets outerPadding = const EdgeInsets.fromLTRB(24, 0, 24, 56),
- TextAlign textAlign = TextAlign.center,
- TextStyle? style,
- BoxDecoration? decoration,
- EdgeInsets innerPadding = const EdgeInsets.symmetric(horizontal: 16, vertical: 10),
- 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,
});