update method

  1. @override
void update(
  1. covariant ConsumerStatefulWidget newWidget
)
override

Marks the element for rebuild when the widget updates.

Implementation

@override
/// Marks the element for rebuild when the widget updates.
void update(covariant ConsumerStatefulWidget newWidget) {
  super.update(newWidget);
  markNeedsBuild();
}