Skip to content

Commit

Permalink
fix: migrate MaterialState
Browse files Browse the repository at this point in the history
  • Loading branch information
opxdelwin committed Jun 3, 2024
1 parent d1efffd commit 5da87b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client-app/lib/widgets/time_table_for_day.dart
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class _TimeTableForDayState extends State<TimeTableForDay> {
// set highlight color for selected (current) day
color:
WidgetStateProperty.resolveWith<Color?>((Set<WidgetState> states) {
if (states.contains(MaterialState.selected)) {
if (states.contains(WidgetState.selected)) {
return Theme.of(context).colorScheme.secondary.withOpacity(0.12);
}
return null;
Expand Down

0 comments on commit 5da87b4

Please sign in to comment.