buildLeft method

Widget buildLeft()

Implementation

Widget buildLeft() {
  return Row(
    children: <Widget>[
      require
          ? Text("*",
              style: TextStyle(
                fontSize: sizes[size]['titleFontSize'],
                color: Style.cellRequiredColor,
              ))
          : Container(),
      icon != null
          ? Icon(icon, size: Style.cellIconSize, color: Style.cellTextColor)
          : Container(),
      icon != null ? SizedBox(width: Style.intervalSm) : Container(),
      title != null
          ? Text(title!,
              style: TextStyle(
                fontSize: sizes[size]['titleFontSize'],
              ))
          : Container(),
      customTitle ?? Container(),
    ],
  );
}