GiffyDialog.image constructor

const GiffyDialog.image(
  1. Image image, {
  2. Key? key,
  3. GiffyBuilder giffyBuilder = defaultGiffyBuilder,
  4. EdgeInsetsGeometry? giffyPadding,
  5. Widget? title,
  6. EdgeInsetsGeometry? titlePadding,
  7. TextStyle? titleTextStyle,
  8. Widget? content,
  9. EdgeInsetsGeometry? contentPadding,
  10. TextStyle? contentTextStyle,
  11. List<Widget>? actions,
  12. EdgeInsetsGeometry? actionsPadding,
  13. MainAxisAlignment? actionsAlignment,
  14. VerticalDirection? actionsOverflowDirection,
  15. double? actionsOverflowButtonSpacing,
  16. OverflowBarAlignment? actionsOverflowAlignment,
  17. EdgeInsetsGeometry? buttonPadding,
  18. Color? backgroundColor,
  19. double? elevation,
  20. Color? shadowColor,
  21. Color? surfaceTintColor,
  22. EdgeInsets insetPadding = _defaultInsetPadding,
  23. Clip clipBehavior = Clip.antiAlias,
  24. ShapeBorder? shape,
  25. AlignmentGeometry? alignment,
  26. String? semanticLabel,
  27. bool scrollable = false,
  28. EntryAnimation entryAnimation = EntryAnimation.none,
})

Creates a giffy dialog which uses a Image as the giffy.

Implementation

const GiffyDialog.image(
  Image image, {
  super.key,
  this.giffyBuilder = defaultGiffyBuilder,
  this.giffyPadding,
  this.title,
  this.titlePadding,
  this.titleTextStyle,
  this.content,
  this.contentPadding,
  this.contentTextStyle,
  this.actions,
  this.actionsPadding,
  this.actionsAlignment,
  this.actionsOverflowDirection,
  this.actionsOverflowButtonSpacing,
  this.actionsOverflowAlignment,
  this.buttonPadding,
  this.backgroundColor,
  this.elevation,
  this.shadowColor,
  this.surfaceTintColor,
  this.insetPadding = _defaultInsetPadding,
  this.clipBehavior = Clip.antiAlias,
  this.shape,
  this.alignment,
  this.semanticLabel,
  this.scrollable = false,
  this.entryAnimation = EntryAnimation.none,
}) : giffy = image;