MVVMProps<T extends ViewModel> constructor

MVVMProps<T extends ViewModel>({
  1. required Widget view(),
  2. required T viewModel,
  3. required bool disposeVM,
})

Implementation

MVVMProps({
  required this.view,
  required T viewModel,
  required bool disposeVM,
}) : super(viewModel: viewModel, disposeVM: disposeVM);