feat: support customizing mobile page style (#769)
* feat: customize the list icons * test: fix tests
This commit is contained in:
parent
a9ef209c55
commit
5d4f2367a3
1 changed files with 72 additions and 43 deletions
|
|
@ -102,7 +102,7 @@ class _CustomizeThemeForEditorState extends State<CustomizeThemeForEditor> {
|
|||
// todo-list block
|
||||
TodoListBlockKeys.type: TodoListBlockComponentBuilder(
|
||||
configuration: configuration,
|
||||
iconBuilder: (context, node) {
|
||||
iconBuilder: (context, node, ___) {
|
||||
final checked = node.attributes[TodoListBlockKeys.checked] as bool;
|
||||
return GestureDetector(
|
||||
onTap: () => editorState.apply(
|
||||
|
|
|
|||
Loading…
Reference in a new issue