xBuildTitleWidget method
Implementation
Widget xBuildTitleWidget() {
return widget.titleWidget == null
// ? Row(children: [
// Text(widget.title + " - ", style: XStyles.xStyleText(colorText: Colors.white, activeBold: true)),
// SizedBox(width: 5),
// ])
? //
Row(children: [
Container(margin: EdgeInsets.only(right: 10), child: Icon(titleIcon, color: titleColor, size: 50)),
Text(widget.title + " - ", style: XStyles.xStyleText(colorText: titleColor, activeBold: true)),
SizedBox(width: 5),
Text(titleSubText, style: XStyles.xStyleText(colorText: Colors.white, activeBold: true)),
])
: widget.titleWidget ?? Container();
}