Subscriber<Model extends Pub> constructor
const
Subscriber<Model extends Pub> ({})
Create a consumer widget.
aspects : register the aspects with the consumer widget. This widget will rebuild whenever any aspect in the aspects is notified.
rxAuto
: if enable automatic aspect management, i.e. any watched
variable value used inside the create function will rebuild the
consumer widget when updating the value of the watched variable.
create : create a child widget of this consumer widget.
Implementation
const Subscriber({
Key? key,
this.aspects,
required this.create,
}) : super(key: key);