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

Back button not working #12

Open
Dhana2513 opened this issue Dec 8, 2020 · 2 comments
Open

Back button not working #12

Dhana2513 opened this issue Dec 8, 2020 · 2 comments

Comments

@Dhana2513
Copy link

When i use summernote on page.
if i press back button then the navigator does not pop that page.

@chandrabezzo
Copy link
Owner

Have you add Navigator.pop() in your code? can you tell me how you use this package? thanks.

@smworks
Copy link

smworks commented Jan 3, 2021

`class HtmlEditor extends StatefulWidget {
final String _text;

HtmlEditor(this._text);

@OverRide
State createState() => _HtmlEditorState();
}

class _HtmlEditorState extends BaseState {
GlobalKey _keyEditor = GlobalKey();

@OverRide
Widget build(BuildContext context) {
String text = widget._text ?? "";
return Scaffold(
resizeToAvoidBottomPadding: true,
backgroundColor: Colors.white,
extendBodyBehindAppBar: false,
body: FlutterSummernote(
key: _keyEditor,
value: text,
hasAttachment: false,
showBottomToolbar: false),
);
}
}
`
I'm having same issue with 0.2.2 version and code pasted above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants