chore: remove deprecated apis (#74)

* dart format + remove withopacity

* remove unused imports
This commit is contained in:
Dr.Blank 2025-04-10 19:42:08 +05:30 committed by GitHub
parent 4af16ac5b4
commit 4ebf46d2fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 48 additions and 37 deletions

View file

@ -107,7 +107,7 @@ class UserLoginWithPassword extends HookConsumerWidget {
color: Theme.of(context)
.colorScheme
.onSurface
.withOpacity(0.8),
.withValues(alpha: 0.8),
),
border: const OutlineInputBorder(),
),
@ -127,12 +127,15 @@ class UserLoginWithPassword extends HookConsumerWidget {
color: Theme.of(context)
.colorScheme
.onSurface
.withOpacity(0.8),
.withValues(alpha: 0.8),
),
border: const OutlineInputBorder(),
suffixIcon: ColorFiltered(
colorFilter: ColorFilter.mode(
Theme.of(context).colorScheme.primary.withOpacity(0.8),
Theme.of(context)
.colorScheme
.primary
.withValues(alpha: 0.8),
BlendMode.srcIn,
),
child: InkWell(