Skip to content

Commit

Permalink
Removed unneccessary commit
Browse files Browse the repository at this point in the history
  • Loading branch information
anandnet committed Apr 6, 2024
1 parent 54e44cb commit ca5d9bc
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions lib/ui/utils/theme_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -128,15 +128,6 @@ class ThemeController extends GetxController {
letterSpacing: 1,
fontWeight: FontWeight.bold),
),
switchTheme: SwitchThemeData(
thumbColor: MaterialStateProperty.resolveWith<Color>(
(Set<MaterialState> states) {
if (states.contains(MaterialState.selected)) {
return primarySwatch[100]!.withLightness(50);
}
return Colors.white.withOpacity(0.3);
}),
),
indicatorColor: Colors.white,
progressIndicatorTheme: ProgressIndicatorThemeData(
linearTrackColor: (primarySwatch[300])!.computeLuminance() > 0.3
Expand Down Expand Up @@ -224,15 +215,6 @@ class ThemeController extends GetxController {
valueIndicatorColor: Colors.black38,
thumbColor: Colors.white,
),
switchTheme: SwitchThemeData(
thumbColor: MaterialStateProperty.resolveWith<Color>(
(Set<MaterialState> states) {
if (states.contains(MaterialState.selected)) {
return Colors.white.withLightness(50);
}
return Colors.white.withOpacity(0.3);
}),
),
inputDecorationTheme: const InputDecorationTheme(
focusColor: Colors.white,
focusedBorder: UnderlineInputBorder(
Expand Down Expand Up @@ -300,15 +282,6 @@ class ThemeController extends GetxController {
valueIndicatorColor: Colors.white38,
thumbColor: Colors.grey[800],
),
switchTheme: SwitchThemeData(
thumbColor: MaterialStateProperty.resolveWith<Color>(
(Set<MaterialState> states) {
if (states.contains(MaterialState.selected)) {
return Colors.white.withLightness(50);
}
return Colors.grey.withOpacity(0.3);
}),
),
inputDecorationTheme: const InputDecorationTheme(
focusColor: Colors.black,
focusedBorder: UnderlineInputBorder(
Expand Down

0 comments on commit ca5d9bc

Please sign in to comment.