From c92113a129d5ec278c9a1e2f311800cbfa3003cc Mon Sep 17 00:00:00 2001 From: Taha Tesser Date: Wed, 11 Dec 2024 23:18:45 +0200 Subject: [PATCH] [Flutter Team] - Update `TaskNode`s `Checkbox` visual density to depend on the `ThemeData.visualDensity` (#2444) --- super_editor/lib/src/default_editor/tasks.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/super_editor/lib/src/default_editor/tasks.dart b/super_editor/lib/src/default_editor/tasks.dart index 685f66913..20d4eeb34 100644 --- a/super_editor/lib/src/default_editor/tasks.dart +++ b/super_editor/lib/src/default_editor/tasks.dart @@ -353,6 +353,7 @@ class _TaskComponentState extends State with ProxyDocumentCompone Padding( padding: const EdgeInsets.only(left: 16, right: 4), child: Checkbox( + visualDensity: Theme.of(context).visualDensity, value: widget.viewModel.isComplete, onChanged: (newValue) { widget.viewModel.setComplete(newValue!);