singerdmx / flutter-quill

Rich text editor for Flutter
https://pub.dev/packages/flutter_quill
MIT License
2.6k stars 839 forks source link

refactor!: restructure project into modular architecture for flutter_quill_extensions #2106

Closed EchoEllet closed 3 months ago

EchoEllet commented 3 months ago

Description

This PR is identical to #2032 for flutter_quill_extensions

This will be a breaking change for users who import files directly, import the extensions package using:

import 'package:flutter_quill_extensions/flutter_quill_extensions.dart';

Some files are not exported and are available as public API.

So to use them you have to import the file and ignore the warning manually:

// ignore: implementation_imports
import 'package:flutter_quill_extensions/src/editor/image/widgets/image.dart'
    show getImageProviderByImageSource, imageFileExtensions;

Keep in mind the APIs that are not exposed in public are not stable, and could be removed or changed at any time.

This PR has other minor breaking changes.

The following APIs have been removed:

Related Issues

Type of Change