summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Buttons/defrost_recirculate.dart8
-rw-r--r--lib/home_page.dart6
-rw-r--r--lib/kuksa-server/vehicle_server_path.dart8
3 files changed, 11 insertions, 11 deletions
diff --git a/lib/Buttons/defrost_recirculate.dart b/lib/Buttons/defrost_recirculate.dart
index 30ac40d..909bbf5 100644
--- a/lib/Buttons/defrost_recirculate.dart
+++ b/lib/Buttons/defrost_recirculate.dart
@@ -10,12 +10,12 @@ import 'package:flutter_hvac/kuksa-server/vehicle-provider.dart';
import 'package:flutter_hvac/kuksa-server/vehicle_methods.dart';
import 'package:flutter_hvac/size.dart';
-class CaustomButton extends ConsumerStatefulWidget {
+class CustomButton extends ConsumerStatefulWidget {
WebSocket socket;
String serverPath;
String img;
String type;
- CaustomButton({
+ CustomButton({
Key? key,
required this.serverPath,
required this.socket,
@@ -24,10 +24,10 @@ class CaustomButton extends ConsumerStatefulWidget {
}) : super(key: key);
@override
- _CaustomButtonState createState() => _CaustomButtonState();
+ _CustomButtonState createState() => _CustomButtonState();
}
-class _CaustomButtonState extends ConsumerState<CaustomButton>
+class _CustomButtonState extends ConsumerState<CustomButton>
with SingleTickerProviderStateMixin {
late AnimationController _controller;
late vehicle vehicledata;
diff --git a/lib/home_page.dart b/lib/home_page.dart
index 00ee789..7b91129 100644
--- a/lib/home_page.dart
+++ b/lib/home_page.dart
@@ -137,7 +137,7 @@ class HomePage extends StatelessWidget {
),
Column(
children: [
- CaustomButton(
+ CustomButton(
serverPath:
'Vehicle.Cabin.HVAC.IsRecirculationActive',
socket: socket,
@@ -146,7 +146,7 @@ class HomePage extends StatelessWidget {
SizedBox(
height: SizeConfig.safeBlockVertical,
),
- CaustomButton(
+ CustomButton(
serverPath:
'Vehicle.Cabin.HVAC.IsRearDefrosterActive',
socket: socket,
@@ -155,7 +155,7 @@ class HomePage extends StatelessWidget {
SizedBox(
height: SizeConfig.safeBlockVertical,
),
- CaustomButton(
+ CustomButton(
serverPath:
'Vehicle.Cabin.HVAC.IsFrontDefrosterActive',
socket: socket,
diff --git a/lib/kuksa-server/vehicle_server_path.dart b/lib/kuksa-server/vehicle_server_path.dart
index c61c3ca..e422aff 100644
--- a/lib/kuksa-server/vehicle_server_path.dart
+++ b/lib/kuksa-server/vehicle_server_path.dart
@@ -11,14 +11,14 @@ class VSPath {
static const String vehicleAmbientAirTemperature =
"Vehicle.AmbientAirTemperature";
- static const String vehicleFrontLeftTier =
+ static const String vehicleFrontLeftTire =
"Vehicle.Chassis.Axle.Row1.Wheel.Left.Tire.Pressure";
- static const String vehicleFrontRightTier =
+ static const String vehicleFrontRightTire =
"Vehicle.Chassis.Axle.Row1.Wheel.Right.Tire.Pressure";
- static const String vehicleRearLeftTier =
+ static const String vehicleRearLeftTire =
"Vehicle.Chassis.Axle.Row2.Wheel.Left.Tire.Pressure";
- static const String vehicleRearRightTier =
+ static const String vehicleRearRightTire =
"Vehicle.Chassis.Axle.Row2.Wheel.Right.Tire.Pressure";
static const String vehicleIsChildLockActiveLeft =
"Vehicle.Cabin.Door.Row2.Left.IsChildLockActive";