Ensures initProps and initState have executed once before build.
void ensureInitialized() { if (_initialized) return; _initialized = true; initProps(); initState(); }