Skip to content

Commit

Permalink
sorted imports again?
Browse files Browse the repository at this point in the history
  • Loading branch information
Brord van Wierst committed Dec 4, 2023
1 parent e8c3e30 commit 74c3e97
Show file tree
Hide file tree
Showing 408 changed files with 44 additions and 1,185 deletions.
3 changes: 0 additions & 3 deletions lib/config/app_config.dart
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
// Dart imports:
import 'dart:ui';

// Package imports:
import 'package:matrix/matrix.dart';

// Project imports:
import 'package:fluffychat/pangea/config/environment.dart';

abstract class AppConfig {
Expand Down
1 change: 0 additions & 1 deletion lib/config/firebase_options.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// File generated by FlutterFire CLI.
// ignore_for_file: lines_longer_than_80_chars, avoid_classes_with_only_static_members

// Package imports:
import 'package:firebase_core/firebase_core.dart' show FirebaseOptions;

import 'package:flutter/foundation.dart'
Expand Down
4 changes: 0 additions & 4 deletions lib/config/routes.dart
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
// Dart imports:
import 'dart:async';

// Flutter imports:
import 'package:flutter/cupertino.dart';

// Package imports:
import 'package:go_router/go_router.dart';

// Project imports:
import 'package:fluffychat/config/themes.dart';
import 'package:fluffychat/pages/archive/archive.dart';
import 'package:fluffychat/pages/chat/chat.dart';
Expand Down
2 changes: 0 additions & 2 deletions lib/config/themes.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
// Flutter imports:
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

// Project imports:
import 'package:fluffychat/utils/platform_infos.dart';
import 'app_config.dart';

Expand Down
3 changes: 0 additions & 3 deletions lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
// Flutter imports:
import 'package:flutter/material.dart';

// Package imports:
import 'package:collection/collection.dart';
import 'package:flutter_dotenv/flutter_dotenv.dart';
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
import 'package:get_storage/get_storage.dart';
import 'package:matrix/matrix.dart';
import 'package:shared_preferences/shared_preferences.dart';

// Project imports:
import 'package:fluffychat/config/app_config.dart';
import 'package:fluffychat/pangea/config/environment.dart';
import 'package:fluffychat/pangea/controllers/language_list_controller.dart';
Expand Down
4 changes: 0 additions & 4 deletions lib/pages/add_story/add_story.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// Dart imports:
import 'dart:io';
import 'dart:math';

// Flutter imports:
import 'package:flutter/material.dart';

// Package imports:
import 'package:collection/collection.dart';
import 'package:file_picker/file_picker.dart';
import 'package:future_loading_dialog/future_loading_dialog.dart';
Expand All @@ -14,7 +11,6 @@ import 'package:image_picker/image_picker.dart';
import 'package:matrix/matrix.dart';
import 'package:video_player/video_player.dart';

// Project imports:
import 'package:fluffychat/pages/add_story/add_story_view.dart';
import 'package:fluffychat/pages/add_story/invite_story_page.dart';
import 'package:fluffychat/utils/matrix_sdk_extensions/matrix_file_extension.dart';
Expand Down
3 changes: 0 additions & 3 deletions lib/pages/add_story/add_story_view.dart
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
// Flutter imports:
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

// Package imports:
import 'package:flutter_gen/gen_l10n/l10n.dart';
import 'package:video_player/video_player.dart';

// Project imports:
import 'add_story.dart';

class AddStoryView extends StatelessWidget {
Expand Down
3 changes: 0 additions & 3 deletions lib/pages/add_story/invite_story_page.dart
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
// Flutter imports:
import 'package:flutter/material.dart';

// Package imports:
import 'package:adaptive_dialog/adaptive_dialog.dart';
import 'package:flutter_gen/gen_l10n/l10n.dart';
import 'package:future_loading_dialog/future_loading_dialog.dart';
import 'package:matrix/matrix.dart';

// Project imports:
import 'package:fluffychat/utils/localized_exception_extension.dart';
import 'package:fluffychat/utils/matrix_sdk_extensions/client_stories_extension.dart';
import 'package:fluffychat/widgets/avatar.dart';
Expand Down
3 changes: 0 additions & 3 deletions lib/pages/archive/archive.dart
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
// Flutter imports:
import 'package:flutter/material.dart';

// Package imports:
import 'package:adaptive_dialog/adaptive_dialog.dart';
import 'package:flutter_gen/gen_l10n/l10n.dart';
import 'package:future_loading_dialog/future_loading_dialog.dart';
import 'package:matrix/matrix.dart';

// Project imports:
import 'package:fluffychat/pages/archive/archive_view.dart';
import 'package:fluffychat/widgets/matrix.dart';

Expand Down
3 changes: 0 additions & 3 deletions lib/pages/archive/archive_view.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// Flutter imports:
import 'package:flutter/material.dart';

// Package imports:
import 'package:flutter_gen/gen_l10n/l10n.dart';
import 'package:matrix/matrix.dart';

// Project imports:
import 'package:fluffychat/pages/archive/archive.dart';
import 'package:fluffychat/pages/chat_list/chat_list_item.dart';
import 'package:fluffychat/widgets/layouts/max_width_body.dart';
Expand Down
3 changes: 0 additions & 3 deletions lib/pages/bootstrap/bootstrap_dialog.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// Flutter imports:
import 'package:flutter/material.dart';

// Package imports:
import 'package:adaptive_dialog/adaptive_dialog.dart';
import 'package:flutter_gen/gen_l10n/l10n.dart';
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
Expand All @@ -10,7 +8,6 @@ import 'package:matrix/encryption.dart';
import 'package:matrix/encryption/utils/bootstrap.dart';
import 'package:matrix/matrix.dart';

// Project imports:
import 'package:fluffychat/config/themes.dart';
import 'package:fluffychat/utils/fluffy_share.dart';
import 'package:fluffychat/utils/platform_infos.dart';
Expand Down
3 changes: 0 additions & 3 deletions lib/pages/chat/add_widget_tile.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// Flutter imports:
import 'package:flutter/material.dart';

// Package imports:
import 'package:flutter_gen/gen_l10n/l10n.dart';
import 'package:matrix/matrix.dart';

// Project imports:
import 'package:fluffychat/pages/chat/add_widget_tile_view.dart';

class AddWidgetTile extends StatefulWidget {
Expand Down
3 changes: 0 additions & 3 deletions lib/pages/chat/add_widget_tile_view.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// Flutter imports:
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

// Package imports:
import 'package:flutter_gen/gen_l10n/l10n.dart';

// Project imports:
import 'package:fluffychat/pages/chat/add_widget_tile.dart';

class AddWidgetTileView extends StatelessWidget {
Expand Down
4 changes: 0 additions & 4 deletions lib/pages/chat/chat.dart
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
// Dart imports:
import 'dart:async';
import 'dart:developer';
import 'dart:io';

// Flutter imports:
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/scheduler.dart';
import 'package:flutter/services.dart';

// Package imports:
import 'package:adaptive_dialog/adaptive_dialog.dart';
import 'package:desktop_drop/desktop_drop.dart';
import 'package:device_info_plus/device_info_plus.dart';
Expand All @@ -24,7 +21,6 @@ import 'package:record/record.dart';
import 'package:scroll_to_index/scroll_to_index.dart';
import 'package:shared_preferences/shared_preferences.dart';

// Project imports:
import 'package:fluffychat/config/app_config.dart';
import 'package:fluffychat/config/themes.dart';
import 'package:fluffychat/pages/chat/chat_view.dart';
Expand Down
3 changes: 0 additions & 3 deletions lib/pages/chat/chat_app_bar_title.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// Flutter imports:
import 'package:flutter/material.dart';

// Package imports:
import 'package:flutter_gen/gen_l10n/l10n.dart';
import 'package:go_router/go_router.dart';

// Project imports:
import 'package:fluffychat/config/themes.dart';
import 'package:fluffychat/pages/chat/chat.dart';
import 'package:fluffychat/utils/date_time_extension.dart';
Expand Down
3 changes: 0 additions & 3 deletions lib/pages/chat/chat_emoji_picker.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// Flutter imports:
import 'package:flutter/material.dart';

// Package imports:
import 'package:emoji_picker_flutter/emoji_picker_flutter.dart';
import 'package:flutter_gen/gen_l10n/l10n.dart';

// Project imports:
import 'package:fluffychat/config/themes.dart';
import 'chat.dart';

Expand Down
11 changes: 6 additions & 5 deletions lib/pages/chat/chat_event_list.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
// Flutter imports:
// Project imports:

import 'package:flutter/material.dart';

import 'package:matrix/matrix.dart';
import 'package:scroll_to_index/scroll_to_index.dart';

import 'package:fluffychat/config/themes.dart';
import 'package:fluffychat/pages/chat/chat.dart';
import 'package:fluffychat/pages/chat/events/message.dart';
Expand All @@ -11,10 +16,6 @@ import 'package:fluffychat/pangea/widgets/chat/locked_chat_message.dart';
import 'package:fluffychat/utils/adaptive_bottom_sheet.dart';
import 'package:fluffychat/utils/matrix_sdk_extensions/filtered_timeline_extension.dart';
import 'package:fluffychat/utils/platform_infos.dart';
import 'package:flutter/material.dart';
// Package imports:
import 'package:matrix/matrix.dart';
import 'package:scroll_to_index/scroll_to_index.dart';

class ChatEventList extends StatelessWidget {
final ChatController controller;
Expand Down
3 changes: 0 additions & 3 deletions lib/pages/chat/chat_input_row.dart
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
// Flutter imports:
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

// Package imports:
import 'package:animations/animations.dart';
import 'package:flutter_gen/gen_l10n/l10n.dart';
import 'package:keyboard_shortcuts/keyboard_shortcuts.dart';
import 'package:matrix/matrix.dart';

// Project imports:
import 'package:fluffychat/config/app_config.dart';
import 'package:fluffychat/pangea/choreographer/widgets/it_bar.dart';
import 'package:fluffychat/pangea/choreographer/widgets/send_button.dart';
Expand Down
14 changes: 7 additions & 7 deletions lib/pages/chat/chat_view.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
// Flutter imports:
// Package imports:

import 'package:flutter/material.dart';

import 'package:badges/badges.dart';
import 'package:desktop_drop/desktop_drop.dart';
// Project imports:
import 'package:flutter_gen/gen_l10n/l10n.dart';
import 'package:future_loading_dialog/future_loading_dialog.dart';
import 'package:matrix/matrix.dart';

import 'package:fluffychat/config/app_config.dart';
import 'package:fluffychat/config/themes.dart';
import 'package:fluffychat/pages/chat/chat.dart';
Expand All @@ -21,11 +26,6 @@ import 'package:fluffychat/widgets/chat_settings_popup_menu.dart';
import 'package:fluffychat/widgets/connection_status_header.dart';
import 'package:fluffychat/widgets/matrix.dart';
import 'package:fluffychat/widgets/unread_rooms_badge.dart';
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/l10n.dart';
import 'package:future_loading_dialog/future_loading_dialog.dart';
import 'package:matrix/matrix.dart';

import '../../utils/stream_extension.dart';
import 'chat_emoji_picker.dart';
import 'chat_input_row.dart';
Expand Down
1 change: 0 additions & 1 deletion lib/pages/chat/command_hints.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// This file is auto-generated using scripts/generate_command_hints_glue.sh.

// Package imports:
import 'package:flutter_gen/gen_l10n/l10n.dart';

String commandHint(L10n l10n, String command) {
Expand Down
3 changes: 0 additions & 3 deletions lib/pages/chat/cupertino_widgets_bottom_sheet.dart
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
// Flutter imports:
import 'package:flutter/cupertino.dart';

// Package imports:
import 'package:flutter_gen/gen_l10n/l10n.dart';
import 'package:matrix/matrix.dart';
import 'package:url_launcher/link.dart';

// Project imports:
import 'edit_widgets_dialog.dart';

class CupertinoWidgetsBottomSheet extends StatelessWidget {
Expand Down
3 changes: 0 additions & 3 deletions lib/pages/chat/edit_widgets_dialog.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// Flutter imports:
import 'package:flutter/material.dart';

// Package imports:
import 'package:flutter_gen/gen_l10n/l10n.dart';
import 'package:matrix/matrix.dart';

// Project imports:
import 'add_widget_tile.dart';

class EditWidgetsDialog extends StatelessWidget {
Expand Down
3 changes: 0 additions & 3 deletions lib/pages/chat/encryption_button.dart
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
// Flutter imports:
import 'package:flutter/material.dart';

// Package imports:
import 'package:flutter_gen/gen_l10n/l10n.dart';
import 'package:go_router/go_router.dart';
import 'package:matrix/matrix.dart';

// Project imports:
import '../../widgets/matrix.dart';

class EncryptionButton extends StatelessWidget {
Expand Down
4 changes: 0 additions & 4 deletions lib/pages/chat/event_info_dialog.dart
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
// Dart imports:
import 'dart:convert';

// Flutter imports:
import 'package:flutter/material.dart';

// Package imports:
import 'package:flutter_gen/gen_l10n/l10n.dart';
import 'package:matrix/matrix.dart';

// Project imports:
import 'package:fluffychat/config/app_config.dart';
import 'package:fluffychat/utils/adaptive_bottom_sheet.dart';
import 'package:fluffychat/utils/date_time_extension.dart';
Expand Down
4 changes: 0 additions & 4 deletions lib/pages/chat/events/audio_player.dart
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
// Dart imports:
import 'dart:async';
import 'dart:io';

// Flutter imports:
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';

// Package imports:
import 'package:just_audio/just_audio.dart';
import 'package:matrix/matrix.dart';
import 'package:path_provider/path_provider.dart';

// Project imports:
import 'package:fluffychat/utils/error_reporter.dart';
import 'package:fluffychat/utils/localized_exception_extension.dart';
import '../../../utils/matrix_sdk_extensions/event_extension.dart';
Expand Down
4 changes: 0 additions & 4 deletions lib/pages/chat/events/cute_events.dart
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
// Dart imports:
import 'dart:math';

// Flutter imports:
import 'package:flutter/material.dart';

// Package imports:
import 'package:flutter_gen/gen_l10n/l10n.dart';
import 'package:matrix/matrix.dart';

// Project imports:
import 'package:fluffychat/config/app_config.dart';

class CuteContent extends StatefulWidget {
Expand Down
3 changes: 0 additions & 3 deletions lib/pages/chat/events/html_message.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// Flutter imports:
import 'package:flutter/material.dart';

// Package imports:
import 'package:collection/collection.dart';
import 'package:flutter_highlighter/flutter_highlighter.dart';
import 'package:flutter_highlighter/themes/shades-of-purple.dart';
Expand All @@ -11,7 +9,6 @@ import 'package:flutter_math_fork/flutter_math.dart';
import 'package:linkify/linkify.dart';
import 'package:matrix/matrix.dart';

// Project imports:
import 'package:fluffychat/config/app_config.dart';
import 'package:fluffychat/widgets/avatar.dart';
import 'package:fluffychat/widgets/mxc_image.dart';
Expand Down
Loading

0 comments on commit 74c3e97

Please sign in to comment.