chore: rename checkbox to to-do list

This commit is contained in:
Lucas.Xu 2022-08-11 17:08:34 +08:00
parent 19838227d9
commit 1667d14e90

View File

@ -47,14 +47,14 @@ final List<PopupListItem> _popupListItems = [
icon: _popupListIcon('bullets'),
handler: (editorState) => insertBulletedListAfterSelection(editorState),
),
// PopupListItem(
// text: 'Numbered list',
// keywords: ['numbered list'],
// icon: _popupListIcon('number'),
// handler: (editorState) => debugPrint('Not implement yet!'),
// ),
PopupListItem(
text: 'Numbered list',
keywords: ['numbered list'],
icon: _popupListIcon('number'),
handler: (editorState) => debugPrint('Not implement yet!'),
),
PopupListItem(
text: 'Checkboxes',
text: 'To-do List',
keywords: ['checkbox'],
icon: _popupListIcon('checkbox'),
handler: (editorState) => insertCheckboxAfterSelection(editorState),