fix: update conditional import for web to fix build failure

refactor/extensions-package-structure
Ellet 8 months ago
parent 6b0f578ce7
commit 06f244063b
  1. 2
      flutter_quill_extensions/lib/src/editor/image/image_web_embed.dart
  2. 2
      flutter_quill_extensions/lib/src/editor/video/video_web_embed.dart

@ -4,7 +4,7 @@ import 'package:flutter_quill/flutter_quill.dart';
import 'package:universal_html/html.dart' as html;
import '../../common/utils/dart_ui/dart_ui_fake.dart'
if (dart.library.js_interop) '../../../utils/dart_ui/dart_ui_real.dart'
if (dart.library.js_interop) '../../common/utils/dart_ui/dart_ui_real.dart'
as ui;
import '../../common/utils/element_utils/element_web_utils.dart';
import '../../common/utils/utils.dart';

@ -5,7 +5,7 @@ import 'package:youtube_player_flutter/youtube_player_flutter.dart'
show YoutubePlayer;
import '../../common/utils/dart_ui/dart_ui_fake.dart'
if (dart.library.js_interop) '../../../utils/dart_ui/dart_ui_real.dart'
if (dart.library.js_interop) '../../common/utils/dart_ui/dart_ui_real.dart'
as ui;
import '../../common/utils/element_utils/element_web_utils.dart';
import '../../common/utils/utils.dart';

Loading…
Cancel
Save