From 4fbd3fdb9e01c197d972b78961f0d033534a5cc7 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Wed, 28 Dec 2022 15:05:26 -0500 Subject: Add volume control to bottom panel Changes: - Import a reworked version of the KUKSA.val client code from the Flutter dashboard app, with the aggregated signal Riverpod provider replaced with per-signal providers for the signal the homescreen needs and a couple of temperature ones it might use. Using separate providers is more in-line with recommended Riverpod best practices. - Various tweaks to enable using Riverpod. - Split the bottom panel out into its own widget, and add a stack in it to layer the default logo panel with the volume control slider, which has been added as a new widget definition to provide the hook to drive timer based lowering behavior like the Qt homescreen does. - The KUKSA.val connection widget has been added to the bottom panel rather than overriding the top-level widget as in the dashboard and HVAC apps. This seems preferable with respect to still providing some functionality in the event KUKSA.val is unavailable. - Remove the old demo dashboard and HVAC pages that are now unused, along with the image assets they needed, to allow cleaning up pubspec.yaml and ease maintenance. Bug-AGL: SPEC-4659 Signed-off-by: Scott Murray Change-Id: I5d9180a3461948a58321564e71134c4961ce0ef7 --- pubspec.yaml | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) (limited to 'pubspec.yaml') diff --git a/pubspec.yaml b/pubspec.yaml index dfc2877..115dde6 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -32,13 +32,11 @@ dependencies: flutter: sdk: flutter - # The following adds the Cupertino Icons font to your application. - # Use with the CupertinoIcons class for iOS style icons. - cupertino_icons: ^1.0.2 - + meta: ^1.8.0 + flutter_riverpod: ^2.1.1 intl: ^0.17.0 - numberpicker: ^2.1.1 - provider: ^6.0.1 + http: ^0.13.5 + yaml: ^3.1.1 jovial_svg: ^1.1.6 @@ -70,15 +68,6 @@ flutter: # To add assets to your application, add an assets section, like this: assets: - images/Utility_Logo_Grey-01.svg - - images/HMI_HVAC_Fan_Icon.png - - images/HMI_HVAC_Left_Chair_ON.png - - images/HMI_HVAC_Right_Chair_ON.png - - images/HMI_HVAC_Circulation_Active.png - - images/HMI_HVAC_Rear_Active.png - - images/HMI_HVAC_Front_Active.png - - images/HMI_HVAC_AirDown_Active.png - - images/HMI_HVAC_AirUp_Active.png - - images/HMI_Dashboard_Car_720.png # An image asset can refer to one or more resolution-specific "variants", see # https://flutter.dev/assets-and-images/#resolution-aware -- cgit 1.2.3-korg