iconCreation function
Implementation
Widget iconCreation(String iconPath, String text, VoidCallback onTap) {
return InkWell(
onTap: onTap,
child: Column(
children: [
SvgPicture.asset(iconPath,package: package,),
const SizedBox(
height: 5,
),
Text(
text,
style: TextStyle(fontSize: 12, color: MirrorflyUikit.getTheme?.colorOnPrimary,fontWeight: FontWeight.bold),
)
],
),
);
}