refactor: Add code quality reports
This commit is contained in:
parent
9e7a278dff
commit
2f978c5098
17 changed files with 93 additions and 29 deletions
|
|
@ -63,8 +63,9 @@ class SearchView extends StatelessWidget {
|
|||
.toLowerCase()
|
||||
.contains(controller.controller.text.toLowerCase()),
|
||||
);
|
||||
const tabCount = 3;
|
||||
return DefaultTabController(
|
||||
length: 3,
|
||||
length: tabCount,
|
||||
initialIndex:
|
||||
controller.controller.text?.startsWith('#') ?? false ? 0 : 1,
|
||||
child: Scaffold(
|
||||
|
|
@ -171,7 +172,8 @@ class SearchView extends StatelessWidget {
|
|||
shrinkWrap: true,
|
||||
padding: const EdgeInsets.all(12),
|
||||
physics: const NeverScrollableScrollPhysics(),
|
||||
gridDelegate: const SliverGridDelegateWithFixedCrossAxisCount(
|
||||
gridDelegate:
|
||||
const SliverGridDelegateWithFixedCrossAxisCount(
|
||||
crossAxisCount: 2,
|
||||
childAspectRatio: 1,
|
||||
crossAxisSpacing: 16,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue