MUIProfileCard constructor

const MUIProfileCard({
  1. Key? key,
  2. required String name,
  3. required Image image,
  4. required String designation,
  5. List<Widget> socialIcons = const [],
  6. double borderRadius = 8,
  7. Color bgColor = Colors.white,
  8. TextStyle nameStyle = const TextStyle(fontSize: 18, color: Colors.black, fontWeight: FontWeight.bold),
  9. TextStyle designationStyle = const TextStyle(fontSize: 16, color: Colors.black),
  10. double maxWidth = 430,
})

Implementation

const MUIProfileCard(
    {super.key,
    required this.name,
    required this.image,
    required this.designation,
    this.socialIcons = const [],
    this.borderRadius = 8,
    this.bgColor = Colors.white,
    this.nameStyle = const TextStyle(
      fontSize: 18,
      color: Colors.black,
      fontWeight: FontWeight.bold,
    ),
    this.designationStyle = const TextStyle(
      fontSize: 16,
      color: Colors.black,
    ),
    this.maxWidth = 430});