ViewModelWidget<T> constructor

const ViewModelWidget<T>({
  1. Key? key,
  2. bool isReactive = true,
})

Constructs the ViewModelWidget.

isReactive determines if the widget rebuilds when the view model changes.

Implementation

const ViewModelWidget({Key? key, this.isReactive = true}) : super(key: key);