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

@@ -52,13 +52,6 @@ class _ViewPointsPageState extends State<ViewPointsPage>
alignment: Alignment.centerLeft,
scale: 0.8,
child: Switch(
thumbIcon: WidgetStateProperty.resolveWith<Icon?>((states) {
if (states.isNotEmpty &&
states.first == WidgetState.selected) {
return const Icon(Icons.done);
}
return null;
}),
value: videoDetailController.showVP.value,
onChanged: (value) =>
videoDetailController.showVP.value = value,