SubscriberGlobal constructor
Create a consumer widget.
Register to the host to rebuild when any of the watched variable value
used inside this widget is updating; or use watchedVar.consume
to
touch()
the watched variable first.
create : create a child widget of this consumer widget.
Implementation
const SubscriberGlobal({
Key? key,
required this.create,
}) : super(key: key);