mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
@@ -115,6 +115,8 @@ abstract final class ThemeUtils {
|
||||
selectionHandleColor: colorScheme.primary,
|
||||
),
|
||||
switchTheme: const SwitchThemeData(
|
||||
padding: .zero,
|
||||
materialTapTargetSize: .shrinkWrap,
|
||||
thumbIcon: WidgetStateProperty<Icon?>.fromMap(
|
||||
<WidgetStatesConstraint, Icon?>{
|
||||
WidgetState.selected: Icon(Icons.done),
|
||||
|
||||
Reference in New Issue
Block a user