build method
Registers the middlewares in the queue.
Implementation
@override
Widget build(BuildContext context) {
_controller.addListener(() {
_listenerMessageManager(context, _controller);
});
if (middlewares != null) {
_controller.middlewares.addAll(middlewares!);
}
return child;
}