build method
Returns the child and sets the correct context in MBmessages.
Implementation
@override
Widget build(BuildContext context) {
MBMessages.contextCallback = () => context;
return child;
}
Returns the child and sets the correct context in MBmessages.
@override
Widget build(BuildContext context) {
MBMessages.contextCallback = () => context;
return child;
}