Skip to content

Commit 12aebcc

Browse files
committed
Ignoring withOpacity for the entire Dart extensions file.
1 parent bc53041 commit 12aebcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/material/color_compat_extensions.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import 'package:flutter/material.dart';
22

3+
//ignore_for_file: deprecated_member_use
34
extension ColorCompatExtensions on Color {
45
/// Returns a new color that matches this color with the given opacity.
56
///
@@ -24,7 +25,6 @@ extension ColorCompatExtensions on Color {
2425
// Once it's removed from a future update, we'll have to replace uses of
2526
// this method with withValues(alpha: opacity).
2627
// TODO: Replace this bridge method once the above holds true.
27-
//ignore: deprecated_member_use
2828
return withOpacity(opacity);
2929
}
3030
}

0 commit comments

Comments
 (0)