ActionCard constructor

const ActionCard({
  1. Key? key,
  2. required VoidCallback onPressed,
  3. IconData icon = Icons.add_a_photo,
  4. double iconSize = 90,
  5. Color iconColor = const Color(0xFF2E5355),
  6. Color backgroundColor = const Color(0xFFFFF2D8),
  7. double width = 325,
})

Creates an ActionCard with customizable appearance and behavior.

Implementation

const ActionCard({
  super.key,
  required this.onPressed,
  this.icon = Icons.add_a_photo,
  this.iconSize = 90,
  this.iconColor = const Color(0xFF2E5355),
  this.backgroundColor = const Color(0xFFFFF2D8),
  this.width = 325,
});