Skip to content

Make spell checker package optional #2142

Closed
@jonafeucht

Description

@jonafeucht

Is there an existing issue for this?

Flutter Quill version

Latest

Steps to reproduce

The simple_spell_checker package should be optional, it has ballooned my app from sub 70mb to >150mb, adding around 80mb more.

From what I can tell this is because of all the language dictionaries:

Screenshot 2024-08-23 at 16 50 54

My suggestion would be to just make platform specific api calls. Apple for example provides https://developer.apple.com/documentation/uikit/uitextchecker for iOS. Android and other platforms should have equivalent apis.

Expected results

Small app size

Actual results

Large app size

Code sample

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions