Remove unnecessary imports and logs, Change ListView padding
This commit is contained in:
parent
d5a929dfcc
commit
062556f2e4
|
|
@ -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<InfographyScreen> {
|
|||
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<InfographyScreen> {
|
|||
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(
|
||||
|
|
|
|||
Loading…
Reference in New Issue