dart format + remove withopacity

This commit is contained in:
Dr.Blank 2025-04-10 19:20:00 +05:30
parent 28ceca5408
commit 40a2ca0455
No known key found for this signature in database
GPG key ID: BA5F87FF0560C57B
20 changed files with 48 additions and 35 deletions

View file

@ -98,8 +98,10 @@ class MySearchBar extends HookConsumerWidget {
// opacity: 0.5 for the hint text
hintStyle: WidgetStatePropertyAll(
Theme.of(context).textTheme.bodyMedium!.copyWith(
color:
Theme.of(context).colorScheme.onSurface.withOpacity(0.5),
color: Theme.of(context)
.colorScheme
.onSurface
.withValues(alpha: 0.5),
),
),
textInputAction: TextInputAction.search,