toTextEditorPage method
void
toTextEditorPage()
Implementation
void toTextEditorPage() {
realState?._panelController.hidePanel();
Navigator.of(context)
.push(PageRouteBuilder(
opaque: false,
pageBuilder: (BuildContext context, Animation<double> animation, Animation<double> secondaryAnimation) {
return TextEditorPage();
}))
.then((value) {
realState?._panelController.showPanel();
if (value is FloatTextModel) {
addText(value);
}
});
}