UserCard.black constructor
UserCard.black({})
Implementation
factory UserCard.black({
required String userName,
required String companyTitle,
required String? imageUrl,
}) =>
UserCard(
bgColor: Colors.black,
imageUrl: imageUrl,
userName: Text(
userName,
style: const TextStyle(
color: Colors.white,
fontWeight: FontWeight.bold,
fontSize: 18,
),
),
companyTitle: Text(
companyTitle,
style: const TextStyle(
color: Colors.white,
fontWeight: FontWeight.w200,
fontSize: 14,
),
),
);