On this screenshot, I’ve received a ListView with three empty ListTiles. Nevertheless, within the iOS model, the ListTiles have giant horizontal margins (proven in purple), which I do not need. I’ve tried including damaging content material padding, however nothing is working. How do I do away with them? Thanks.
class TasksPane extends StatelessWidget with WatchItMixin {
const TasksPane({tremendous.key});
@override
Widget construct(BuildContext context) {
ultimate controller = watchIt<RpmTodoController>();
ultimate log = Logger(graphicPrinter);
return Column(
youngsters: [
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [
IconButton(
onPressed: controller.all,
icon: const FaIcon(Icons.filter_list_off),
tooltip: 'View all tasks',
iconSize: 18.0,
// color: Theme.of(context).highlightColor,
),
IconButton(
onPressed: controller.soon,
icon: const FaIcon(Icons.timer),
tooltip: 'View tasks for this week',
iconSize: 18.0,
),
IconButton(
onPressed: controller.urgent,
icon: const FaIcon(Icons.priority_high),
tooltip: 'View tasks for this week',
iconSize: 18.0,
),
IconButton(
onPressed: controller.today,
icon: const FaIcon(Icons.today),
tooltip: 'View urgent tasks',
iconSize: 18.0,
),
],
),
Expanded(
little one: ListView.builder(
itemCount: controller.todos.size,
itemBuilder: (context, index) {
ultimate todo = controller.todos[index];
const little one = ListTile();
return Draggable<CVEvent>(
knowledge: todo,
suggestions: ConstrainedBox(
constraints: BoxConstraints.unfastened(const Dimension(500, 60)),
little one: const Materials(
little one: Opacity(
opacity: 0.75,
little one: little one,
),
),
),
childWhenDragging:
const Opacity(opacity: 0.5, little one: little one),
onDragEnd: (x) =>
log.i('$todo Drag ended with ${x.wasAccepted}'),
little one: little one);
}),
),
],
);
}
}