activeButtonWidget method

Widget activeButtonWidget()

Implementation

Widget activeButtonWidget() {
  return Row(
    children: [
      Container(
        padding: const EdgeInsets.symmetric(horizontal: 10.0, vertical: 8.0),
        decoration: BoxDecoration(
          color: ColorHelper.lightGreen, // Light green background
          borderRadius: BorderRadius.circular(8),
        ),
        child: Row(
          children: [
            const Icon(
              Icons.check_circle,
              color: Colors.green,
              size: 18,
            ),
            2.SpaceY,
            const Text(
              'Active',
              style: TextStyle(
                fontSize: 16,
                color: Colors.green,
                fontWeight: FontWeight.w400,
              ),
            ),
          ],
        ),
      ),
      5.SpaceY,
      Container(
        padding: const EdgeInsets.symmetric(horizontal: 10.0, vertical: 8.0),
        decoration: BoxDecoration(
          color: ColorHelper.lightGrey, // Light green background
          borderRadius: BorderRadius.circular(8),
        ),
        child: Icon(
          Icons.more_vert,
          color: Colors.grey[700],
        ),
      ),
    ],
  );
}