From 062556f2e456d2be73de9877db438ee824a69bbf Mon Sep 17 00:00:00 2001 From: MohammadTaha Basiri Date: Tue, 16 Apr 2024 10:36:59 +0330 Subject: [PATCH] Remove unnecessary imports and logs, Change ListView padding --- lib/views/home/infography/infography_screen.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/views/home/infography/infography_screen.dart b/lib/views/home/infography/infography_screen.dart index 2918703..e1c345e 100644 --- a/lib/views/home/infography/infography_screen.dart +++ b/lib/views/home/infography/infography_screen.dart @@ -1,5 +1,4 @@ import 'dart:async'; -import 'dart:developer'; import 'package:didvan/constants/app_icons.dart'; import 'package:didvan/models/infography/info_tag.dart'; @@ -110,7 +109,6 @@ class _InfographyScreenState extends State { hintText: "انتخاب کنید", onListChanged: (value) { state.selectedTags.addAll(value); - log('changing value to: ${value.map((e) => e.label + e.id.toString())}'); }, ), ), @@ -198,7 +196,7 @@ class _InfographyScreenState extends State { child: ListView.separated( controller: _scrollController, itemCount: state.contents.length, - padding: const EdgeInsets.symmetric(vertical: 8.0), + padding: const EdgeInsets.all(8.0), separatorBuilder: (BuildContext context, i) => const SizedBox(height: 8.0), itemBuilder: (context, index) => InfographyItem(