// SPDX-License-Identifier: Apache-2.0 import 'dart:io'; import 'dart:ui'; import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_hvac/home_page.dart'; class MyCustomScrollBehavior extends MaterialScrollBehavior { // Override behavior methods and getters like dragDevices @override Set get dragDevices => {PointerDeviceKind.mouse, PointerDeviceKind.touch}; } Future main() async { WidgetsFlutterBinding.ensureInitialized(); runApp( ProviderScope( child: MaterialApp( scrollBehavior: MyCustomScrollBehavior(), home: HomePage(), ), ), ); }