Skip to content
New issue

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

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

Already on GitHub? # to your account

[Dragbar] Issue #474

Open
Sanketrupareliya opened this issue Nov 28, 2023 · 0 comments
Open

[Dragbar] Issue #474

Sanketrupareliya opened this issue Nov 28, 2023 · 0 comments
Labels
question Further information is requested

Comments

@Sanketrupareliya
Copy link

I am using html editor and I want to remove the dragbar I have tried as mentioned in #42

SingleChildScrollView(
child: Column(children: [
HtmlEditor(
controller: controller,
callbacks: Callbacks(onInit: () {
controller.setFullScreen();
}),
htmlEditorOptions: HtmlEditorOptions(
autoAdjustHeight: false,
mobileContextMenu: ContextMenu(),
mobileLongPressDuration: const Duration(microseconds: 200),
hint: hint,
initialText: labelText ?? "",
shouldEnsureVisible: true,
),
htmlToolbarOptions: const HtmlToolbarOptions(
toolbarPosition: ToolbarPosition.aboveEditor,
toolbarType: ToolbarType.nativeScrollable,
defaultToolbarButtons: [
StyleButtons(),
ListButtons(listStyles: false),
FontButtons(superscript: false, subscript: false),
ParagraphButtons(
lineHeight: false,
caseConverter: false,
textDirection: false),
InsertButtons(
link: true,
picture: false,
audio: false,
video: false,
otherFile: false,
table: false,
hr: false),
],
),
otherOptions: OtherOptions(
height: MediaQuery.of(context).size.height - 120,
),
)
]),
),

This is the code I have added controller.setFullScreen(); in on Init call back bu the issue is when it loads the html editor that dragbar flickers for one then it disappears.
Android.Emulator.-.Pixel_3a_API_33_2_5554.2023-11-28.10-51-11.mp4
@Sanketrupareliya Sanketrupareliya added the question Further information is requested label Nov 28, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant