Skip to content

Commit

Permalink
Fix analysis issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Ellet committed Dec 7, 2023
1 parent 5fcda94 commit 70d5fe0
Show file tree
Hide file tree
Showing 15 changed files with 24 additions and 23 deletions.
4 changes: 2 additions & 2 deletions lib/flutter_quill.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ export 'src/models/themes/quill_dialog_theme.dart';
export 'src/models/themes/quill_icon_theme.dart';
export 'src/utils/embeds.dart';
export 'src/widgets/editor/editor.dart';
export 'src/widgets/quill/quill_controller.dart';
export 'src/widgets/others/cursor.dart';
export 'src/widgets/others/default_styles.dart';
export 'src/widgets/quill/embeds.dart';
export 'src/widgets/others/link.dart'
show LinkActionPickerDelegate, LinkMenuAction;
export 'src/widgets/quill/embeds.dart';
export 'src/widgets/quill/quill_controller.dart';
export 'src/widgets/raw_editor/raw_editor.dart';
export 'src/widgets/raw_editor/raw_editor_state.dart';
export 'src/widgets/style_widgets/style_widgets.dart';
Expand Down
4 changes: 2 additions & 2 deletions lib/src/models/config/editor/editor_configurations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import 'package:flutter/widgets.dart';
import 'package:meta/meta.dart' show experimental;

import '../../../widgets/editor/editor_builder.dart';
import '../../../widgets/quill/quill_controller.dart';
import '../../../widgets/others/default_styles.dart';
import '../../../widgets/others/delegate.dart';
import '../../../widgets/quill/embeds.dart';
import '../../../widgets/others/link.dart';
import '../../../widgets/quill/embeds.dart';
import '../../../widgets/quill/quill_controller.dart';
import '../../../widgets/raw_editor/raw_editor.dart';
import '../../themes/quill_dialog_theme.dart';
import '../quill_shared_configurations.dart';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ import 'package:flutter/widgets.dart'
Widget;
import 'package:meta/meta.dart' show immutable;

import '../../../widgets/quill/quill_controller.dart';
import '../../../widgets/others/cursor.dart';
import '../../../widgets/others/default_styles.dart';
import '../../../widgets/others/delegate.dart';
import '../../../widgets/others/link.dart';
import '../../../widgets/quill/quill_controller.dart';
import '../../../widgets/raw_editor/raw_editor.dart';
import '../../../widgets/raw_editor/raw_editor_state.dart';
import '../../themes/quill_dialog_theme.dart';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import 'package:flutter/foundation.dart' show immutable;
import 'package:flutter/widgets.dart'
show Axis, Widget, WrapAlignment, WrapCrossAlignment;

import '../../../widgets/quill/quill_controller.dart';
import '../../../widgets/quill/embeds.dart';
import '../../../widgets/quill/quill_controller.dart';
import '../../themes/quill_dialog_theme.dart';
import '../../themes/quill_icon_theme.dart';
import 'buttons/base_configurations.dart';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:flutter_quill/flutter_quill.dart';
import '../../../flutter_quill.dart';

/// Custom attribute to save the language of codeblock
class CodeBlockLanguageAttribute extends Attribute<String?> {
Expand Down
2 changes: 1 addition & 1 deletion lib/src/packages/quill_markdown/delta_to_markdown.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'dart:convert';
import 'dart:ui';

import 'package:collection/collection.dart';
import 'package:flutter_quill/flutter_quill.dart';
import '../../../flutter_quill.dart';
import './custom_quill_attributes.dart';
import './utils.dart';

Expand Down
3 changes: 2 additions & 1 deletion lib/src/packages/quill_markdown/embeddable_table_syntax.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import 'package:charcode/charcode.dart';
import 'package:flutter_quill/flutter_quill.dart' hide Node;
import 'package:markdown/markdown.dart';

import '../../../flutter_quill.dart' hide Node;

/// Parses markdown table and saves the table markdown content into the element attributes.
class EmbeddableTableSyntax extends BlockSyntax {
/// @nodoc
Expand Down
2 changes: 1 addition & 1 deletion lib/src/packages/quill_markdown/markdown_to_delta.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import 'dart:collection';
import 'dart:convert';

import 'package:collection/collection.dart';
import 'package:flutter_quill/flutter_quill.dart';
import 'package:markdown/markdown.dart' as md;

import '../../../flutter_quill.dart';
import './custom_quill_attributes.dart';
import './embeddable_table_syntax.dart';
import './utils.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/packages/quill_markdown/utils.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//ignore_for_file: cast_nullable_to_non_nullable
import 'package:flutter_quill/flutter_quill.dart';
import '../../../flutter_quill.dart';

import './embeddable_table_syntax.dart';

Expand Down
2 changes: 1 addition & 1 deletion lib/src/widgets/editor/editor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ import '../../utils/platform.dart';
import '../others/box.dart';
import '../others/cursor.dart';
import '../others/delegate.dart';
import '../quill/embeds.dart';
import '../others/float_cursor.dart';
import '../others/text_selection.dart';
import '../quill/embeds.dart';
import '../raw_editor/raw_editor.dart';
import '../utils/provider.dart';
import 'editor_builder.dart';
Expand Down
10 changes: 5 additions & 5 deletions lib/src/widgets/quill/text_block.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ import '../../models/documents/nodes/line.dart';
import '../../models/structs/vertical_spacing.dart';
import '../../utils/delta.dart';
import '../editor/editor.dart';
import '../style_widgets/bullet_point.dart';
import '../style_widgets/checkbox_point.dart';
import '../style_widgets/number_point.dart';
import '../others/box.dart';
import 'quill_controller.dart';
import '../others/cursor.dart';
import '../others/default_styles.dart';
import '../others/delegate.dart';
import '../others/link.dart';
import 'text_line.dart';
import '../others/text_selection.dart';
import '../style_widgets/bullet_point.dart';
import '../style_widgets/checkbox_point.dart';
import '../style_widgets/number_point.dart';
import 'quill_controller.dart';
import 'text_line.dart';

const List<int> arabianRomanNumbers = [
1000,
Expand Down
4 changes: 2 additions & 2 deletions lib/src/widgets/quill/text_line.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import 'package:url_launcher/url_launcher.dart';
import '../../models/documents/attribute.dart';
import '../../models/documents/nodes/container.dart' as container_node;
import '../../models/documents/nodes/embeddable.dart';
import '../../models/documents/nodes/leaf.dart';
import '../../models/documents/nodes/leaf.dart' as leaf;
import '../../models/documents/nodes/leaf.dart';
import '../../models/documents/nodes/line.dart';
import '../../models/documents/nodes/node.dart';
import '../../models/documents/style.dart';
Expand All @@ -21,14 +21,14 @@ import '../../utils/color.dart';
import '../../utils/font.dart';
import '../../utils/platform.dart';
import '../others/box.dart';
import 'quill_controller.dart';
import '../others/cursor.dart';
import '../others/default_styles.dart';
import '../others/delegate.dart';
import '../others/keyboard_listener.dart';
import '../others/link.dart';
import '../others/proxy.dart';
import '../others/text_selection.dart';
import 'quill_controller.dart';

class TextLine extends StatefulWidget {
const TextLine({
Expand Down
4 changes: 2 additions & 2 deletions lib/src/widgets/raw_editor/raw_editor_state.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ import '../../utils/delta.dart';
import '../../utils/embeds.dart';
import '../../utils/platform.dart';
import '../editor/editor.dart';
import '../quill/quill_controller.dart';
import '../others/cursor.dart';
import '../others/default_styles.dart';
import '../others/keyboard_listener.dart';
import '../others/link.dart';
import '../others/proxy.dart';
import '../others/text_selection.dart';
import '../quill/quill_controller.dart';
import '../quill/text_block.dart';
import '../quill/text_line.dart';
import '../others/text_selection.dart';
import 'quill_single_child_scroll_view.dart';
import 'raw_editor.dart';
import 'raw_editor_actions.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/widgets/toolbar/buttons/link_style2_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import '../../../l10n/widgets/localizations.dart';
import '../../../models/documents/attribute.dart';
import '../../../models/themes/quill_dialog_theme.dart';
import '../../../models/themes/quill_icon_theme.dart';
import '../../quill/quill_controller.dart';
import '../../others/link.dart';
import '../../quill/quill_controller.dart';
import '../base_toolbar.dart';

/// Alternative version of [QuillToolbarLinkStyleButton]. This widget has more
Expand Down
2 changes: 1 addition & 1 deletion lib/src/widgets/toolbar/buttons/link_style_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import '../../../models/rules/insert.dart';
import '../../../models/structs/link_dialog_action.dart';
import '../../../models/themes/quill_dialog_theme.dart';
import '../../../models/themes/quill_icon_theme.dart';
import '../../quill/quill_controller.dart';
import '../../others/link.dart';
import '../../quill/quill_controller.dart';
import '../base_toolbar.dart';

class QuillToolbarLinkStyleButton extends StatefulWidget {
Expand Down

0 comments on commit 70d5fe0

Please sign in to comment.