buildAnalyticsItem method

Widget buildAnalyticsItem(
  1. String title,
  2. String value
)

Implementation

Widget buildAnalyticsItem(String title, String value) {
  return Column(
    crossAxisAlignment: CrossAxisAlignment.center,
    children: [
      SizedBox(
        width: Get.width < 1000
            ? 100
            : Get.width < 1500
                ? 150
                : 200,
        child: Text(
          title,
          style: const TextStyle(
              fontSize: 14,
              color: ColorHelper.grey02,
              fontWeight: FontWeight.w400),
        ),
      ),
      const SizedBox(height: 4),
      Text(
        value,
        style: const TextStyle(
          fontSize: 28,
          fontWeight: FontWeight.w700,
          color: Colors.black,
        ),
      ),
    ],
  );
}