Skip to content

Commit

Permalink
Fixed deprecation warning in Flutter 3.27
Browse files Browse the repository at this point in the history
  • Loading branch information
larryaasen committed Jan 5, 2025
1 parent 5dbde09 commit f635ad5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,10 @@ class TideStatusBarItemContainer extends StatelessWidget {
alignment: Alignment.center,
decoration: BoxDecoration(
color: state.isPressed
// ignore: deprecated_member_use
? Colors.grey.withOpacity(0.66)
: state.isHovering
// ignore: deprecated_member_use
? Colors.grey.withOpacity(0.33)
: null,
),
Expand Down

0 comments on commit f635ad5

Please sign in to comment.