Skip to content

Commit aa9f5c6

Browse files
committed
chore: fix deprecated color opacity
1 parent 1eb79a2 commit aa9f5c6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/stream_chat_flutter/lib/src/avatars/gradient_avatar.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@ class _Initials extends StatelessWidget {
9393
style: TextStyle(
9494
fontSize: fontSize,
9595
fontWeight: FontWeight.w500,
96-
// ignore: deprecated_member_use
97-
color: Colors.white.withOpacity(0.7),
96+
color: Colors.white.withValues(alpha: 0.7),
9897
),
9998
);
10099
},

0 commit comments

Comments
 (0)