shouldComponentUpdate method
ReactJS lifecycle method that is invoked before rendering when nextProps
and/or nextState
are being received.
Use this as an opportunity to return false
when you're certain that the transition to the new props and state
will not require a component update.
See: reactjs.org/docs/react-component.html#shouldcomponentupdate
Implementation
@override
bool shouldComponentUpdate(Map nextProps, Map nextState) => true;