diff --git a/lib/ui/app/resources/cached_image.dart b/lib/ui/app/resources/cached_image.dart index 69118f0d4..5c308417a 100644 --- a/lib/ui/app/resources/cached_image.dart +++ b/lib/ui/app/resources/cached_image.dart @@ -1,5 +1,4 @@ // Flutter imports: -import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; // Package imports: diff --git a/lib/utils/super_editor/super_editor.dart b/lib/utils/super_editor/super_editor.dart index b89904a3b..2da2667a0 100644 --- a/lib/utils/super_editor/super_editor.dart +++ b/lib/utils/super_editor/super_editor.dart @@ -341,6 +341,7 @@ class _ExampleEditorState extends State { ); } + /* Widget _buildCornerFabs() { return Padding( padding: const EdgeInsets.only(right: 16, bottom: 16), @@ -404,6 +405,7 @@ class _ExampleEditorState extends State { ), ); } + */ Widget _buildEditor(BuildContext context) { final isLight = Theme.of(context).brightness == Brightness.light; diff --git a/lib/utils/super_editor/toolbar.dart b/lib/utils/super_editor/toolbar.dart index 4c808efd5..c3544a846 100644 --- a/lib/utils/super_editor/toolbar.dart +++ b/lib/utils/super_editor/toolbar.dart @@ -104,6 +104,7 @@ class _EditorToolbarState extends State { super.dispose(); } + /* /// Returns true if the currently selected text node is capable of being /// transformed into a different type text node, returns false if /// multiple nodes are selected, no node is selected, or the selected @@ -260,6 +261,7 @@ class _EditorToolbarState extends State { return null; } } + */ /// Toggles bold styling for the current selected text. void _toggleBold() { @@ -434,6 +436,7 @@ class _EditorToolbarState extends State { return SpanRange(startOffset, endOffset); } + /* /// Changes the alignment of the current selected text node /// to reflect [newAlignment]. void _changeAlignment(TextAlign? newAlignment) { @@ -490,6 +493,7 @@ class _EditorToolbarState extends State { return 'Unordered List Item'; } } + */ void _onPerformAction(TextInputAction action) { if (action == TextInputAction.done) { @@ -733,6 +737,7 @@ class _EditorToolbarState extends State { ); } + /* Widget _buildVerticalDivider() { return Container( width: 1, @@ -754,8 +759,10 @@ class _EditorToolbarState extends State { return Icons.format_align_justify; } } + */ } +/* enum _TextType { header1, header2, @@ -765,6 +772,7 @@ enum _TextType { orderedListItem, unorderedListItem, } +*/ /// Small toolbar that is intended to display over an image and /// offer controls to expand or contract the size of the image.