updateShouldNotify method

  1. @override
bool updateShouldNotify(
  1. covariant FormScope oldWidget
)
override

Whether the widgets that depend on this widget should be rebuilt when oldWidget is replaced by this widget.

Implementation

@override
bool updateShouldNotify(FormScope oldWidget) =>
    formState != oldWidget.formState;