titleViewSubConent method
Widget
titleViewSubConent(
- dynamic input,
- dynamic subTitlefontSize,
- dynamic primaryColor
)
Implementation
Widget titleViewSubConent(input, subTitlefontSize, primaryColor) {
if (input != null && input != '') {
return InkWell(
highlightColor: Colors.transparent,
borderRadius: const BorderRadius.all(Radius.circular(4.0)),
onTap: () {},
child: Padding(
padding: const EdgeInsets.only(left: 8),
child: Row(
children: <Widget>[
Text(
subTxt,
textAlign: TextAlign.left,
style: subTitlefontSize ?? VgkProGamingTheme.h3(primaryColor),
),
SizedBox(
height: 38,
width: 26,
child: Icon(
Icons.arrow_forward,
color: VgkProGamingTheme.darkText,
size: 18,
),
),
],
),
),
);
} else {
return Container();
}
}