Presenter<T, I extends AlfreedView> constructor

Presenter<T, I extends AlfreedView>({
  1. required T state,
  2. bool rebuildOnHotReload = false,
})

Container controlling the current state of the view

Implementation

Presenter({
  required this.state,
  this.rebuildOnHotReload = false,
}) : hasInit = false;