mirrored_repositories/Flutter-Responsive-Portfolio-WebApp/lib/view
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_portfolio/view%20model/getx_controllers/certification_controller.dart';
import 'package:flutter_portfolio/view/projects/components/title_text.dart';
import 'package:get/get.dart';
import '../../res/constants.dart';
import '../../view model/responsive.dart';
import 'components/certification_grid.dart';

class Certifications extends StatelessWidget {
  final controller=Get.put(CertificationController());
   Certifications({super.key});
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Column(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: [
          if(Responsive.isLargeMobile(context))const SizedBox(
            height: defaultPadding,
          ),
          const TitleText(prefix: 'Certifications & ', title: 'License'),
          const SizedBox(
            height: defaultPadding,
          ),
          Expanded(
              child: Responsive(
                  desktop: CertificateGrid(crossAxisCount: 3,ratio: 1.5,),
                  extraLargeScreen: CertificateGrid(crossAxisCount: 4,ratio: 1.6),
                  largeMobile: CertificateGrid(crossAxisCount: 1,ratio: 1.8),
                  mobile: CertificateGrid(crossAxisCount: 1,ratio: 1.4),
                  tablet: CertificateGrid(ratio: 1.7,crossAxisCount: 2,)))
        ],
      ),
    );
  }
}










