refactor(analyzer): add ignore JsonKey

This commit is contained in:
mso7nueh
2024-06-19 14:03:20 +03:00
parent dd6e343736
commit 7329c5747f
4 changed files with 16 additions and 56 deletions

View File

@@ -76,52 +76,6 @@ class ChatSelectScreen extends StatelessWidget {
}
}
_buildScreen(BuildContext context, ChatSelectLoadedState state) {
return Scaffold(
resizeToAvoidBottomInset: false,
body: Container(
width: double.maxFinite,
decoration: AppDecoration.fillGray,
child: ListView(
children: [
SizedBox(height: 30.v),
Container(
margin: EdgeInsets.only(
left: 16.h,
right: 20.h,
bottom: 10.h,
),
padding: EdgeInsets.all(12.h),
decoration: BoxDecoration(
color: Colors.white,
borderRadius: const BorderRadius.all(Radius.circular(12)),
boxShadow: [
BoxShadow(
color: Colors.grey.withOpacity(0.5),
spreadRadius: 2,
blurRadius: 5,
offset: Offset(0, 3),
),
],
),
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
CustomSearchView(
controller: state.searchController,
hintText: "Поиск",
),
SizedBox(height: 20.v),
_buildChatList(context, state),
],
),
)
],
),
),
);
}
_buildChatList(BuildContext context, ChatSelectLoadedState state) {
return ListView.separated(
padding: EdgeInsets.all(16),