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

@ -76,7 +76,7 @@ class HomePage extends HookConsumerWidget {
child: ListView.separated(
itemBuilder: (context, index) => shelvesToDisplay[index],
separatorBuilder: (context, index) => Divider(
color: Theme.of(context).dividerColor.withOpacity(0.1),
color: Theme.of(context).dividerColor.withValues(alpha: 0.1),
indent: 16,
endIndent: 16,
),

View file

@ -61,7 +61,7 @@ class LibraryPage extends HookConsumerWidget {
child: ListView.separated(
itemBuilder: (context, index) => shelvesToDisplay[index],
separatorBuilder: (context, index) => Divider(
color: Theme.of(context).dividerColor.withOpacity(0.1),
color: Theme.of(context).dividerColor.withValues(alpha: 0.1),
indent: 16,
endIndent: 16,
),