You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the class 'QuillToolbarSelectAlignmentButtons'
Expected results
I can use the class 'QuillToolbarSelectAlignmentButtons'.
Actual results
I cannot use the class 'QuillToolbarSelectAlignmentButtons'.
Additional Context
For my custom toolbar, I want to use custom alignment buttons using QuillToolbarSelectAlignmentButtons.
But I can not use it… not defined…
In the latest flutter-quill codes,
there is no import for QuillToolbarSelectAlignmentButtons in flutter_quill.dart and base_toolbar.dart.
Is not QuillToolbarSelectAlignmentButtons class supported?
Or Should I import something to use it?
Screenshots / Video demonstrationLogs
[Paste your logs here]
The text was updated successfully, but these errors were encountered:
Does importing the file from the source fix the issue?
// Avoid using this in productionimport'package:flutter_quill/src/toolbar/buttons/alignment/select_alignment_buttons.dart';
FYI: You shouldn't import files from packages using the source path directly as you will face unexpected breaking changes. This question is to confirm the issue.
EchoEllet
changed the title
Cannot use QuillToolbarSelectAlignmentButtons
QuillToolbarSelectAlignmentButtons is not exported
Oct 14, 2024
When I import the source file directly, I can use it but something's wrong in UI, I don't know why...
Anyway I've solved to create custom alignment buttons using QuillToolbarToggleStyleButton class.
I found out that QuillToolbarToggleStyleButton was used in the QuillToolbarSelectAlignmentButtons source code.
Is there an existing issue for this?
Flutter Quill version
10.8.2
Steps to reproduce
Use the class 'QuillToolbarSelectAlignmentButtons'
Expected results
I can use the class 'QuillToolbarSelectAlignmentButtons'.
Actual results
I cannot use the class 'QuillToolbarSelectAlignmentButtons'.
Additional Context
For my custom toolbar, I want to use custom alignment buttons using QuillToolbarSelectAlignmentButtons.
But I can not use it… not defined…
In the latest flutter-quill codes,
there is no import for QuillToolbarSelectAlignmentButtons in flutter_quill.dart and base_toolbar.dart.
Is not QuillToolbarSelectAlignmentButtons class supported?
Or Should I import something to use it?
Screenshots / Video demonstration
Logs
[Paste your logs here]
The text was updated successfully, but these errors were encountered: