cardTitle method

Widget cardTitle(
  1. String title, {
  2. int maxLines = 2,
})

Implementation

Widget cardTitle(String title, {int maxLines = 2}) => Expanded(
    child: Text(title,
        style: TextStyle(
            color: DI.theme().colors().mainText,
            fontSize: 18,
            fontWeight: FontWeight.bold,
            overflow: TextOverflow.ellipsis),
        maxLines: 2,
        softWrap: false));