---
title: "Comment by jaydipnasit oceanmtech on \"How to Replace .withOpacity with .withValues in Your Flutter Codebase\" | Hashnode"
description: "Excellent work! This change simplifies color manipulation in Flutter!"
url: "https://hashnode.com/posts/how-to-replace-withopacity-with-withvalues-in-your-flutter-codebase/67960f96dddf25cee9b8c5f0/comment/67a99c41dfa9f201c8d73582"
---

[Discussion](https://hashnode.com/posts/how-to-replace-withopacity-with-withvalues-in-your-flutter-codebase/67960f96dddf25cee9b8c5f0)

Comment [How to Replace .withOpacity with .withValues in Your Flutter Codebase](https://hashnode.com/posts/how-to-replace-withopacity-with-withvalues-in-your-flutter-codebase/67960f96dddf25cee9b8c5f0)

[jaydipnasit oceanmtech](https://hashnode.com/@jaydip232)

[Feb 10, 2025](https://hashnode.com/posts/how-to-replace-withopacity-with-withvalues-in-your-flutter-codebase/67960f96dddf25cee9b8c5f0/comment/67a99c41dfa9f201c8d73582)

Excellent work! This change simplifies color manipulation in Flutter!
