SubscriberAuto constructor

const SubscriberAuto({
  1. Key? key,
  2. required Widget create(),
})

Create a consume 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 consume widget.

Implementation

const SubscriberAuto({
  Key? key,
  required this.create,
}) : super(key: key);