build method

  1. @override
  2. @protected
Widget build(
  1. BuildContext context
)
inherited

The Widget build method, don't override this method instead use builder.

If do you override this than you'll lose the global context.

Implementation

@override
@protected
Widget build(final BuildContext context) {
  viewModel._context = context;
  return builder()!;
}