globalHost function

Widget globalHost({
  1. required Widget child,
})

globalHost : Create a InheritedModel To register the Host at the top of the widget tree.

Implementation

Widget globalHost({
  required Widget child,
}) {
  return Host(child: child);
}