mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-03-26 08:54:42 +01:00
Remove outline from dark mode switch
This commit is contained in:
parent
fd347223a2
commit
1ebd81ccbe
1 changed files with 3 additions and 0 deletions
|
@ -98,6 +98,9 @@ ThemeData buildDarkModeSwitchTheme(BuildContext context) {
|
|||
trackColor: MaterialStateProperty.all(theme.colorScheme.surfaceVariant),
|
||||
thumbColor: MaterialStateProperty.all(Colors.black87),
|
||||
),
|
||||
colorScheme: theme.colorScheme.copyWith(
|
||||
outline: Colors.transparent,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue