Closed hjkim-mango closed 38 minutes ago
Does importing the file from the source fix the issue?
// Avoid using this in production
import '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.
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.
Thanks for helping.
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
```console [Paste your logs here] ```