summaryrefslogtreecommitdiffstats
path: root/lib/presentation/screens/hvac/hvac.dart
blob: ebdaea49ff51672c512139bc550aa2dcebc1b25c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import '/export.dart';

class HvacPage extends StatelessWidget {
  const HvacPage({super.key});

  static Page<void> page() => const MaterialPage<void>(child: HvacPage());
  @override
  Widget build(BuildContext context) {
    // print(MediaQuery.of(context).size);
    // print(MediaQuery.of(context).size.width *
    //     MediaQuery.of(context).devicePixelRatio);
    // print(MediaQuery.of(context).size.height *
    //     MediaQuery.of(context).devicePixelRatio);
    return Stack(
      children: [
        // SizedBox(
        //   width: double.infinity,
        //   height: double.infinity,
        //   //color: Colors.black,
        //   // decoration:
        //   //   BoxDecoration(gradient: AGLDemoColors.gradientBackgroundColor),
        //   child: SvgPicture.asset(
        //     'assets/HVACBackground.svg',
        //     alignment: Alignment.center,
        //     fit: BoxFit.cover,
        //     //width: 200,
        //     //height: 200,
        //   ),
        // ),
        SizedBox(
          width: double.infinity,
          height: double.infinity,
          // color: Colors.black,
          child: SvgPicture.asset(
            'assets/backgroundTextures.svg',
            alignment: Alignment.center,
            //width: 200,
            //height: 200,
          ),
        ),
        const SingleChildScrollView(child: HVAC()),
      ],
    );
  }
}