buildColumnHeader method

Widget buildColumnHeader(
  1. String text,
  2. bool isCurrentSortColumn
)

Implementation

Widget buildColumnHeader(String text, bool isCurrentSortColumn) {
  return Row(
    mainAxisSize: MainAxisSize.min,
    children: [
      Flexible(
        child: MyText(
          text,
          textColor: isCurrentSortColumn ? ConectarDesignSystem.settings.primaryColor : Colors.black,
          fontWeight: FontWeight.w600,
        ),
      ),
    ],
  );
}