Skip to content

Commit c92113a

Browse files
TahaTessermatthew-carroll
authored andcommitted
[Flutter Team] - Update TaskNodes Checkbox visual density to depend on the ThemeData.visualDensity (#2444)
1 parent cd87d04 commit c92113a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

super_editor/lib/src/default_editor/tasks.dart

+1
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,7 @@ class _TaskComponentState extends State<TaskComponent> with ProxyDocumentCompone
353353
Padding(
354354
padding: const EdgeInsets.only(left: 16, right: 4),
355355
child: Checkbox(
356+
visualDensity: Theme.of(context).visualDensity,
356357
value: widget.viewModel.isComplete,
357358
onChanged: (newValue) {
358359
widget.viewModel.setComplete(newValue!);

0 commit comments

Comments
 (0)