upgraded flutter and other fixes

This commit is contained in:
zach
2025-12-31 22:19:48 -07:00
parent be97e5c7fc
commit 44be6cd5e7
24 changed files with 2082 additions and 442 deletions
+4 -4
View File
@@ -37,8 +37,8 @@ class QuickSwitchBar extends StatelessWidget {
surfaceTintColor: Colors.transparent,
shadowColor: Colors.transparent,
indicatorColor: colorScheme.primaryContainer,
labelTextStyle: MaterialStateProperty.resolveWith((states) {
final isSelected = states.contains(MaterialState.selected);
labelTextStyle: WidgetStateProperty.resolveWith((states) {
final isSelected = states.contains(WidgetState.selected);
return labelStyle.copyWith(
fontWeight: isSelected ? FontWeight.w700 : FontWeight.w500,
color: isSelected
@@ -46,8 +46,8 @@ class QuickSwitchBar extends StatelessWidget {
: colorScheme.onSurfaceVariant,
);
}),
iconTheme: MaterialStateProperty.resolveWith((states) {
final isSelected = states.contains(MaterialState.selected);
iconTheme: WidgetStateProperty.resolveWith((states) {
final isSelected = states.contains(WidgetState.selected);
return IconThemeData(
color: isSelected
? colorScheme.onPrimaryContainer