Skip to content

Commit

Permalink
[Flutter Team] - Update TaskNodes Checkbox visual density to depe…
Browse files Browse the repository at this point in the history
…nd on the `ThemeData.visualDensity` (#2444)
  • Loading branch information
TahaTesser authored Dec 11, 2024
1 parent 90f4fe0 commit 9694523
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions super_editor/lib/src/default_editor/tasks.dart
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ class _TaskComponentState extends State<TaskComponent> 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!);
Expand Down

0 comments on commit 9694523

Please sign in to comment.