MUIProfileCard constructor
const
MUIProfileCard({
- Key? key,
- required String name,
- required Image image,
- required String designation,
- List<
Widget> socialIcons = const [], - double borderRadius = 8,
- Color bgColor = Colors.white,
- TextStyle nameStyle = const TextStyle(fontSize: 18, color: Colors.black, fontWeight: FontWeight.bold),
- TextStyle designationStyle = const TextStyle(fontSize: 16, color: Colors.black),
- 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});