From 04d132247c478103ef6fc31166be95ebc4057731 Mon Sep 17 00:00:00 2001 From: Xin Yao Date: Sat, 16 Oct 2021 20:44:58 -0700 Subject: [PATCH] Fix lint complaints --- lib/src/widgets/toolbar.dart | 5 +++-- lib/src/widgets/toolbar/camera_button.dart | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/src/widgets/toolbar.dart b/lib/src/widgets/toolbar.dart index ac1c4070..586b7dee 100644 --- a/lib/src/widgets/toolbar.dart +++ b/lib/src/widgets/toolbar.dart @@ -3,8 +3,8 @@ import 'dart:io'; import 'package:flutter/material.dart'; import '../models/documents/attribute.dart'; -import '../models/themes/quill_icon_theme.dart'; import '../models/themes/quill_dialog_theme.dart'; +import '../models/themes/quill_icon_theme.dart'; import '../utils/media_pick_setting.dart'; import 'controller.dart'; import 'toolbar/arrow_indicated_button_list.dart'; @@ -101,7 +101,8 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget { ///The theme to use for the icons in the toolbar, uses type [QuillIconTheme] QuillIconTheme? iconTheme, - ///The theme to use for the theming of the [LinkDialog()], shown when embedding an image, for example + ///The theme to use for the theming of the [LinkDialog()], + ///shown when embedding an image, for example QuillDialogTheme? dialogTheme, Key? key, }) { diff --git a/lib/src/widgets/toolbar/camera_button.dart b/lib/src/widgets/toolbar/camera_button.dart index 9810bc84..7686e47c 100644 --- a/lib/src/widgets/toolbar/camera_button.dart +++ b/lib/src/widgets/toolbar/camera_button.dart @@ -2,9 +2,9 @@ import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:image_picker/image_picker.dart'; +import '../../models/themes/quill_icon_theme.dart'; import '../controller.dart'; import '../toolbar.dart'; -import '../../models/themes/quill_icon_theme.dart'; import 'image_video_utils.dart'; import 'quill_icon_button.dart';