RevealCard constructor

const RevealCard({
  1. Key? key,
  2. required Text? title,
  3. Icon? revealIcon,
  4. required List<Widget>? content,
  5. ImageProvider<Object>? backgroundImage,
  6. double? opacity,
  7. Color? backgroundColor,
  8. Text? revealTitle,
  9. Icon? revealCloseIcon,
  10. List<Widget>? revealContent,
  11. Color? revealBackgroundColor,
  12. ImageProvider<Object>? revealBackgroundImage,
  13. double? revealOpacity,
  14. Duration? revealDuration,
  15. FloatingActionButton? actionButton,
  16. double? width = 300,
  17. double? height = 300,
})

Implementation

const RevealCard({
  Key? key,
  required this.title,
  this.revealIcon,
  required this.content,
  this.backgroundImage,
  this.opacity,
  this.backgroundColor,
  this.revealTitle,
  this.revealCloseIcon,
  this.revealContent,
  this.revealBackgroundColor,
  this.revealBackgroundImage,
  this.revealOpacity,
  this.revealDuration,
  this.actionButton,
  this.width = 300,
  this.height = 300,
}) : super(key: key);