Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

文档过时 #1559

Closed
1 task done
Jinxishihenian opened this issue Dec 2, 2023 · 2 comments
Closed
1 task done

文档过时 #1559

Jinxishihenian opened this issue Dec 2, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Jinxishihenian
Copy link

Is there an existing issue for this?

Flutter Quill version

8.6.2

Other Flutter Quill packages versions

Document obsolescence

QuillEditor.basic(

controller: quillEditorController,

readOnly: false,

)

The parameters of this constructor have changed.

Steps to reproduce

Snipaste_2023-12-02_10-37-59

Expected results

Correct parameter documentation

Actual results

According to the demo provided in the document, syntax exceptions occur

Code sample

Code sample
showDialog(
    context: context,
    builder: (context) => AlertDialog(
      titlePadding: const EdgeInsets.only(left: 16, top: 8),
      title: Row(
        mainAxisAlignment: MainAxisAlignment.spaceBetween,
        children: [
          Text('${isEditing ? 'Edit' : 'Add'} note'),
          IconButton(
            onPressed: () => Navigator.of(context).pop(),
            icon: const Icon(Icons.close),
          )
        ],
      ),
      content: QuillEditor.basic(
        controller: quillEditorController,
        readOnly: false,
      ),
    ),
  )

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
[Paste your logs here]
@Jinxishihenian Jinxishihenian added the bug Something isn't working label Dec 2, 2023
@singerdmx
Copy link
Owner

Hello there, on behalf the Flutter Quill Team I would like to thank you for opening your first issue. Your inputs and insights are valuable in shaping a stable and reliable version for all our users. Thank you for being part of the open-source community!

@singerdmx singerdmx closed this as not planned Won't fix, can't repro, duplicate, stale Dec 2, 2023
@EchoEllet
Copy link
Collaborator

Updated the outdated doc, thank you for the report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants