We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc53041 commit 12aebccCopy full SHA for 12aebcc
lib/src/material/color_compat_extensions.dart
@@ -1,5 +1,6 @@
1
import 'package:flutter/material.dart';
2
3
+//ignore_for_file: deprecated_member_use
4
extension ColorCompatExtensions on Color {
5
/// Returns a new color that matches this color with the given opacity.
6
///
@@ -24,7 +25,6 @@ extension ColorCompatExtensions on Color {
24
25
// Once it's removed from a future update, we'll have to replace uses of
26
// this method with withValues(alpha: opacity).
27
// TODO: Replace this bridge method once the above holds true.
- //ignore: deprecated_member_use
28
return withOpacity(opacity);
29
}
30
0 commit comments