Added cache configuration and changed added client validation

This commit is contained in:
Juan Gilsanz Polo 2023-12-18 02:30:32 +01:00
parent 569ab7d569
commit 313b76740a
11 changed files with 302 additions and 167 deletions

View file

@ -7,12 +7,12 @@ class SettingsTile extends StatelessWidget {
final bool useGlobalSettingsFiltering;
const SettingsTile({
Key? key,
super.key,
required this.label,
required this.value,
this.onChange,
required this.useGlobalSettingsFiltering
}) : super(key: key);
});
@override
Widget build(BuildContext context) {
@ -23,10 +23,7 @@ class SettingsTile extends StatelessWidget {
? value != null ? () => onChange!(!value!) : null
: null,
child: Padding(
padding: const EdgeInsets.symmetric(
horizontal: 42,
vertical: 5
),
padding: const EdgeInsets.symmetric(horizontal: 32, vertical: 6),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [