build abstract method

Widget build(
  1. CoreContext context
)

Build actual Widget. Use context to work with references, dependencies, state management, routing, etc. Check CoreContext as underlying Element of this Widget.

DO NOT call directly register/registerStateNotifier during build call - instead use onInit to register once. Within build method you can register state notifier with context.use(.., stateNotifier = true);

Implementation

Widget build(CoreContext context);