buildF method
dartdoc: {@category StateX class}
Implementation
Widget buildF(BuildContext context) {
_buildFOverridden = false;
if (useInherited) {
// todo: Replace with builder(context) one day
_child ??= buildIn(context); // Always called in the first round gp
} else {
_child = buildIn(context);
}
return useInherited
? StateXInheritedWidget(
key: _key,
state: this as StateX,
child: _child ?? const SizedBox.shrink(),
)
: _child!;
}