buttonView method
Implementation
Widget buttonView() {
// double titleHeight = 15.h_pt_cj;
double iconTitleSpace = 8.h_pt_cj;
double iconHeight = 24.h_pt_cj;
return TopImageTextButton(
onTap: onTap,
// width: this.width ?? 120.w_cj,
// height: this.height ?? 120.h_cj,
// color: Colors.green,
// titleHeight: titleHeight,
iconTitleSpace: iconTitleSpace,
iconHeight: iconHeight,
imageView: Image.asset(
imgUrl,
width: iconHeight,
fit: BoxFit.fitWidth,
),
textLabel: Text(
title,
style: TextStyle(
fontSize: 12.h_pt_cj,
color: const Color(0xff222222),
fontWeight: FontWeight.w500,
// height: 1.2,
),
),
);
}