Updated libraries

This commit is contained in:
Juan Gilsanz Polo 2024-09-08 17:16:07 +02:00
parent 0eae951eed
commit be3e76eafc
6 changed files with 142 additions and 115 deletions

View file

@ -276,16 +276,22 @@ class _CustomRuleEditor extends StatelessWidget {
colors: SegmentedButtonSlideColors(
barColor: Theme.of(context).colorScheme.primary.withOpacity(0.2),
backgroundSelectedColor: Theme.of(context).colorScheme.primary,
foregroundSelectedColor: Theme.of(context).colorScheme.onPrimary,
foregroundUnselectedColor: Theme.of(context).colorScheme.onSurface,
hoverColor: Theme.of(context).colorScheme.onSurfaceVariant,
),
textOverflow: TextOverflow.ellipsis,
fontSize: 14,
height: 40,
margin: const EdgeInsets.symmetric(
horizontal: 24,
),
selectedTextStyle: TextStyle(
color: Theme.of(context).colorScheme.onPrimary,
fontWeight: FontWeight.w700
),
unselectedTextStyle: TextStyle(
color: Theme.of(context).colorScheme.onSurface,
),
hoverTextStyle: TextStyle(
color: Theme.of(context).colorScheme.onSurfaceVariant,
),
),
Container(height: 20),
Material(

View file

@ -187,9 +187,15 @@ class _ClientsModalState extends State<ClientsModal> {
colors: SegmentedButtonSlideColors(
barColor: Theme.of(context).colorScheme.primary.withOpacity(0.2),
backgroundSelectedColor: Theme.of(context).colorScheme.primary,
foregroundSelectedColor: Theme.of(context).colorScheme.onPrimary,
foregroundUnselectedColor: Theme.of(context).colorScheme.onSurface,
hoverColor: Theme.of(context).colorScheme.onSurfaceVariant,
),
selectedTextStyle: TextStyle(
color: Theme.of(context).colorScheme.onPrimary,
),
unselectedTextStyle: TextStyle(
color: Theme.of(context).colorScheme.onSurface,
),
hoverTextStyle: TextStyle(
color: Theme.of(context).colorScheme.onSurfaceVariant,
),
),
),
@ -274,9 +280,16 @@ class _ClientsModalState extends State<ClientsModal> {
colors: SegmentedButtonSlideColors(
barColor: Theme.of(context).colorScheme.primary.withOpacity(0.2),
backgroundSelectedColor: Theme.of(context).colorScheme.primary,
foregroundSelectedColor: Theme.of(context).colorScheme.onPrimary,
foregroundUnselectedColor: Theme.of(context).colorScheme.onSurface,
hoverColor: Theme.of(context).colorScheme.onSurfaceVariant,
),
selectedTextStyle: TextStyle(
color: Theme.of(context).colorScheme.onPrimary,
fontWeight: FontWeight.w700
),
unselectedTextStyle: TextStyle(
color: Theme.of(context).colorScheme.onSurface,
),
hoverTextStyle: TextStyle(
color: Theme.of(context).colorScheme.onSurfaceVariant,
),
),
),