buildView abstract method

Widget buildView(
  1. BuildContext context,
  2. T viewModel
)

This method replaces the build method in the ViewModelStatelessWidget class. It is called when the view model is ready to be used.

  • context: The current build context.
  • viewModel: The view model instance.

Implementation

Widget buildView(BuildContext context, T viewModel);