Revert "mod: color alpha"

This reverts commit a7ffc3b05f.
This commit is contained in:
bggRGjQaUbCoE
2024-12-22 10:42:00 +08:00
parent fe2b4f6735
commit a01d54cd80
64 changed files with 168 additions and 210 deletions

View File

@@ -90,12 +90,12 @@ class _EditProfilePageState extends State<EditProfilePage> {
Widget get _divider => Divider(
height: 1,
color: Theme.of(context).dividerColor.withValues(alpha: 0.1),
color: Theme.of(context).dividerColor.withOpacity(0.1),
);
Widget get _divider1 => Divider(
thickness: 16,
color: Theme.of(context).dividerColor.withValues(alpha: 0.1),
color: Theme.of(context).dividerColor.withOpacity(0.1),
);
Widget _buildBody(LoadingState loadingState) {

View File

@@ -208,7 +208,7 @@ class UserInfoCard extends StatelessWidget {
color: Theme.of(context)
.colorScheme
.onSurface
.withValues(alpha: 0.7),
.withOpacity(0.7),
),
)
],
@@ -328,7 +328,7 @@ class UserInfoCard extends StatelessWidget {
color: Theme.of(context)
.colorScheme
.outline
.withValues(alpha: 0.5),
.withOpacity(0.5),
),
padding: EdgeInsets.zero,
tapTargetSize: MaterialTapTargetSize.shrinkWrap,