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: XfdnText(
          text,
          textColor: isCurrentSortColumn
              ? XfdnDesignSystem.settings.primaryColor
              : Colors.black,
          fontWeight: FontWeight.w600,
        ),
      ),
    ],
  );
}