socialIconsWidget method
Implementation
InkWell socialIconsWidget(BuildContext context, String icon, String link) {
return InkWell(
onTap: (){
controller.launchURL(link);
},
child: Row(
children: [
SvgPicture.asset(
'assets/landing/ic-$icon.svg',
width: context.x<500?13.dp:18,
height: context.x<500?13.dp:18,
),
const SizedBox(width: 5),
Text(
icon=='x'?'TWITTER':icon.toUpperCase(),
style: TextStyle(
fontSize: context.x<430?9.dp: context.x<500?10.dp: 12.dp,
fontWeight: FontWeight.w500,
color: Colors.black,
fontFamily: "SFProDisplay"
),
),
],
),
);
}