Navigator.of(context).pushAndRemoveUntil( MaterialPageRoute<HogePage>( builder: (context) => const HogePage(), ), (Route<dynamic> route) => false, ),
E/flutter ( 7164): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Navigator operation requested with a context that does not include a Navigator. E/flutter ( 7164): The context used to push or pop routes from the Navigator must be that of a widget that is a descendant of a Navigator widget.
が出る