Re structure the folders of the example (#1640)

* Re structure the folders of the example
pull/1643/head
Ellet Hnewa 1 year ago committed by GitHub
parent b66be97a17
commit e801785ca5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 0
      example/lib/extensions/scaffold_messenger.dart
  2. 1
      example/lib/logic/empty.dart
  3. 16
      example/lib/main.dart
  4. 0
      example/lib/screens/home/widgets/example_item.dart
  5. 3
      example/lib/screens/home/widgets/home_screen.dart
  6. 0
      example/lib/screens/quill/embeds/timestamp_embed.dart
  7. 2
      example/lib/screens/quill/my_quill_editor.dart
  8. 2
      example/lib/screens/quill/my_quill_toolbar.dart
  9. 2
      example/lib/screens/quill/quill_screen.dart
  10. 0
      example/lib/screens/quill/samples/quill_default_sample.dart
  11. 0
      example/lib/screens/quill/samples/quill_images_sample.dart
  12. 0
      example/lib/screens/quill/samples/quill_text_sample.dart
  13. 0
      example/lib/screens/quill/samples/quill_videos_sample.dart
  14. 0
      example/lib/screens/settings/cubit/settings_cubit.dart
  15. 0
      example/lib/screens/settings/cubit/settings_cubit.freezed.dart
  16. 0
      example/lib/screens/settings/cubit/settings_cubit.g.dart
  17. 0
      example/lib/screens/settings/cubit/settings_state.dart
  18. 0
      example/lib/screens/settings/widgets/settings_screen.dart
  19. 0
      example/lib/screens/shared/widgets/dialog_action.dart
  20. 0
      example/lib/screens/shared/widgets/home_screen_button.dart
  21. 0
      example/lib/screens/simple/simple_screen.dart

@ -13,14 +13,14 @@ import 'package:hydrated_bloc/hydrated_bloc.dart'
import 'package:path_provider/path_provider.dart'
show getApplicationDocumentsDirectory;
import 'presentation/home/widgets/home_screen.dart';
import 'presentation/quill/quill_screen.dart';
import 'presentation/quill/samples/quill_default_sample.dart';
import 'presentation/quill/samples/quill_images_sample.dart';
import 'presentation/quill/samples/quill_text_sample.dart';
import 'presentation/quill/samples/quill_videos_sample.dart';
import 'presentation/settings/cubit/settings_cubit.dart';
import 'presentation/settings/widgets/settings_screen.dart';
import 'screens/home/widgets/home_screen.dart';
import 'screens/quill/quill_screen.dart';
import 'screens/quill/samples/quill_default_sample.dart';
import 'screens/quill/samples/quill_images_sample.dart';
import 'screens/quill/samples/quill_text_sample.dart';
import 'screens/quill/samples/quill_videos_sample.dart';
import 'screens/settings/cubit/settings_cubit.dart';
import 'screens/settings/widgets/settings_screen.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();

@ -5,12 +5,13 @@ import 'package:file_picker/file_picker.dart' show FilePicker, FileType;
import 'package:flutter/material.dart';
import 'package:flutter_quill/flutter_quill.dart';
import '../../extensions/scaffold_messenger.dart';
import '../../../extensions/scaffold_messenger.dart';
import '../../quill/quill_screen.dart';
import '../../quill/samples/quill_default_sample.dart';
import '../../quill/samples/quill_images_sample.dart';
import '../../quill/samples/quill_text_sample.dart';
import '../../quill/samples/quill_videos_sample.dart';
import '../../settings/widgets/settings_screen.dart';
import 'example_item.dart';

@ -12,7 +12,7 @@ import 'package:flutter_quill_extensions/embeds/widgets/image.dart'
import 'package:flutter_quill_extensions/flutter_quill_extensions.dart';
import 'package:path/path.dart' as path;
import '../extensions/scaffold_messenger.dart';
import '../../extensions/scaffold_messenger.dart';
import 'embeds/timestamp_embed.dart';
class MyQuillEditor extends StatelessWidget {

@ -204,7 +204,7 @@ class MyQuillToolbar extends StatelessWidget {
multiRowsDisplay: true,
buttonOptions: QuillSimpleToolbarButtonOptions(
base: QuillToolbarBaseButtonOptions(
afterButtonPressed: focusNode.requestFocus
afterButtonPressed: focusNode.requestFocus,
// globalIconSize: 20,
// iconTheme: QuillIconTheme(
// iconButtonSelectedData: IconButtonData(

@ -7,7 +7,7 @@ import 'package:flutter_quill_extensions/flutter_quill_extensions.dart'
import 'package:quill_html_converter/quill_html_converter.dart';
import 'package:share_plus/share_plus.dart' show Share;
import '../extensions/scaffold_messenger.dart';
import '../../extensions/scaffold_messenger.dart';
import '../shared/widgets/home_screen_button.dart';
import 'my_quill_editor.dart';
import 'my_quill_toolbar.dart';
Loading…
Cancel
Save