feat(style): use the correct m3 theming (partially) (#680)

This commit is contained in:
EvadeMaster
2023-02-07 19:46:29 +07:00
committed by GitHub
parent 5d63d5c2d3
commit 318cd87a9a
2 changed files with 14 additions and 14 deletions

View File

@ -44,7 +44,7 @@ class CustomSwitch extends StatelessWidget {
shape: BoxShape.circle,
color: value
? Theme.of(context).colorScheme.primaryContainer
: Colors.white,
: Theme.of(context).colorScheme.surface,
boxShadow: [
BoxShadow(
color: Colors.black12.withOpacity(0.1),