opt switch style

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-09-20 21:59:13 +08:00
parent c54d77f393
commit 787be7ac11
9 changed files with 8 additions and 95 deletions

View File

@@ -44,14 +44,6 @@ List<SettingsModel> get videoSettings => [
alignment: Alignment.centerRight,
scale: 0.8,
child: Switch(
thumbIcon: WidgetStateProperty.resolveWith<Icon?>((
Set<WidgetState> states,
) {
if (states.isNotEmpty && states.first == WidgetState.selected) {
return const Icon(Icons.lock_outline_rounded);
}
return null;
}),
value: true,
onChanged: (_) {},
),