diff options
author | Scott Murray <scott.murray@konsulko.com> | 2022-12-31 00:34:31 -0500 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2022-12-31 06:50:16 +0000 |
commit | 9ba227f63a5f83055910b502ca90bb523950c77b (patch) | |
tree | e8dc553cf3b9264c4081f1bb76a95dd7be2f5afc /lib/size.dart | |
parent | 7e9b0b78a48b4fb26996d67a07277f86b69e18ed (diff) |
Rework Riverpod provider usage
Replace the single Riverpod provider for all vehicle signals with
separate ones for each required signal used directly in the widgets
that require them. This is more in line with recommended Riverpod
practice, and should avoids driving full widget tree rebuilds on
every signal received.
Bug-AGL: SPEC-4660
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ibe1ff26f8cd95cbe9cbb477feaf31c9f4919bf6a
Diffstat (limited to 'lib/size.dart')
-rw-r--r-- | lib/size.dart | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/size.dart b/lib/size.dart index 2bcbcd9..d849ba8 100644 --- a/lib/size.dart +++ b/lib/size.dart @@ -1,6 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 import 'package:flutter/material.dart'; -import 'package:flutter/widgets.dart'; class SizeConfig { static late MediaQueryData _mediaQueryData; |